Creating impress.js slide shows with pandoc

John MacFarlane edited this page Oct 14, 2013 · 10 revisions

First, clone a copy of the impress.js repository:

git clone https://github.com/bartaz/impress.js.git

Next, get the custom template:

wget https://gist.github.com/jgm/5665065/raw/impress-template.html

Create a file impress.txt with these contents:

# {#overview .step data-scale=10}

# Bored? {.step}

Aren't you **bored** with slides?

# {.step data-x=2000}

Their limits are annoying?

# {.step data-rotate=90}

Then you should try **impress.js**

Now create your slide show:

pandoc --template impress-template.html -V impress-url=impress.js -s -t html5 --section-divs -o impress.html impress.txt