如何将 reveal.js 中的整个文本(标题,headers 和 body)的位置更改为左上角?
How to change the position of the whole text (title, headers and body) in reveal.js to top left?
我有一个使用 reveal.js 的演示文稿,每次我更换幻灯片时文本(标题、body 等)都会改变位置。
有没有办法将文本和标题固定在左上角(以便至少标题保持原位?)
在下图中,您可以看到标题从一张幻灯片向下移动到下一张幻灯片(使用“搜索框”作为参考)。
如果您没有得到预期的行为,我认为您的 YAML header 设置不正确。
---
output:
revealjs::revealjs_presentation:
center: true
---
center: true
条目根据reveal.js配置进行垂直定位(link)。
// Vertical centering of slides
center: true
我有一个使用 reveal.js 的演示文稿,每次我更换幻灯片时文本(标题、body 等)都会改变位置。
有没有办法将文本和标题固定在左上角(以便至少标题保持原位?)
在下图中,您可以看到标题从一张幻灯片向下移动到下一张幻灯片(使用“搜索框”作为参考)。
如果您没有得到预期的行为,我认为您的 YAML header 设置不正确。
---
output:
revealjs::revealjs_presentation:
center: true
---
center: true
条目根据reveal.js配置进行垂直定位(link)。
// Vertical centering of slides
center: true