Reputation: 119
I want to use reveal.js with markdown. I followed the full set up installation guide
npm start
inside reveal.js folderand then I have modified the index.html
page to add markdown following the documentation
<section data-markdown>
<textarea data-template>
## slide 1
please add me another slide
---
## slide 2
I _need_ it
---
## slide 3
</textarea>
</section>
However the markdown is not fully working :
Everything is on the same slide and the 2nd line should be a paragrapher. what should I do ?
Upvotes: 8
Views: 1998
Reputation: 144
I think you need to specify the data separator, in the example is "---"
<section data-markdown data-separator="---">
:)
and take into account what the documentation says
Note that this is sensitive to indentation (avoid mixing tabs and spaces) and line breaks (avoid consecutive breaks).
Upvotes: 8