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
order
parameter tomanual
and list your slide names inslides
parameter. This is the default configuration, and it's automatically done for you withreveal add-slide
command. Any slide file created insidesource
directory but not included in the configuration file will be ignored. Example:
--- order: manual slides: - slide1 - slide2 - slide3
- Alphabetical order: if you omit
order
parameter (or set it to anything other thanmanual
),reveal generate
command 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
.