-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Using pandoc to produce reveal.js slides
pareyesv edited this page Aug 5, 2016
·
36 revisions
You can use pandoc to produce slides using reveal.js.
First, create a reveal.js template: Edit the demo file index.html
in the reveal.js repository. Remove everything inside the <div class="slides">
, and replace it with $body$
. Save this as template.revealjs
.
Now use this command to produce your slide show:
pandoc --section-divs -t revealjs -s --template template.revealjs -o myslides.html myslides.txt
You'll need the js
, lib
, and css
directories from the reveal.js repository in the same directory as myslides.html.
See also this gist.
NOTE: The development version of pandoc (and the next release) contain direct support for revealjs, including its 2D features.