问题描述
我想使用带有markdown的Reveal.js。我遵循了full set up 安装指南
然后我修改了index.html
页面,在the documentation之后添加了降价促销
<section data-markdown>
<textarea data-template>
## slide 1
please add me another slide
---
## slide 2
I _need_ it
---
## slide 3
</textarea>
</section>
解决方法
我认为您需要指定数据分隔符,在示例中为“ ---”
<section data-markdown data-separator="---">
:)
并考虑文档中的内容
请注意,这对缩进(避免混用制表符和空格)和换行符(避免连续的换行)很敏感。