This my slides repository. They are written in Markdown and generated with pandoc and revealjs (v3.9.2)
-
Install dependencies
-
Slides files have to be named
slides.md
and placed inslideshow
directory, no matter subdirectories.
Then
./generate_slides.sh
Finally, open generated index.html
with your internet browser.
find slideshow/* -name 'slides.md' -exec sh -c 'pandoc {} -o $(dirname {})/slides.pptx 2> /dev/null' \;
Inside a markdown slide ---
, wrap your markdown content as this :
--- <!-- horizontal slide separator -->
<section> <!-- vertical slide opening markup -->
<h4>Subtitle</h4>
Here is my content
work in markdown
* item1

[link to google](http://google.com)
</section> <!-- vertical slide closing markup -->
<section> <!-- vertical slide opening markup -->
another content here
</section> <!-- vertical slide closing markup -->
You'll have 2 vertical slides in your presentation with the snippet above.
Via pandoc we can add revealjs configuration option. Juste create a revealjs_option.txt
with custom option inside, in directory containing slides.md
#for getting Innolea style slides
-V slideNumber=true -V theme=white
# or alternative
-V theme=black
See this page for more information
---
<section data-background-iframe="http://google.fr" data-background-interactive>
</section>
---
At root directory
# for 3.9.2 release
wget https://github.com/hakimel/reveal.js/archive/3.9.2.zip
unzip 3.9.2.zip
mv reveal.js-3.9.2 reveal.js
rm 3.9.2.zip
If not installed, on CentOS
sudo yum install rsync