reveal.js presentation generator.
Current version uses reveal.js 3.6.0
Simply install the gem:
gem install reveal.rb
# create a new presentation
reveal create my-presentation
cd my-presentation
# add some slides
reveal add-slide slide1 slide2 slide3
# after editing your slides, generate the reveal.js presentation
reveal generate
That's it! Now open output/index.html to watch your presentation.
All currently supported configurations are made through reveal.yml file.
There are two ways to order your slides:
- Manual order: set
orderparameter tomanualand list your slide names inslidesparameter. This is the default configuration, and it's automatically done for you withreveal add-slidecommand. Any slide file created insidesourcedirectory but not included in the configuration file will be ignored. Example:
---
order: manual
slides:
- slide1
- slide2
- slide3
- Alphabetical order: if you omit
orderparameter (or set it to anything other thanmanual),reveal generatecommand will add all slide files insidesource, in alphabetical order.
reveal create command adds a template.html file to your
presentation, with reveal.js default configurations. If you want to
change some configuration, just edit this file before running reveal generate.
