Sha256: 2d17b4d48fed61cf55d002d7e6e0a09d80f09288baae8d6ad4e45b7601391ad3
Contents?: true
Size: 1.95 KB
Versions: 4
Compression:
Stored size: 1.95 KB
Contents
# reveal.rb [](https://codeclimate.com/github/ggarnier/reveal.rb) [](https://travis-ci.org/ggarnier/reveal.rb) [](https://gemnasium.com/ggarnier/reveal.rb) [](https://github.com/igrigorik/ga-beacon) [reveal.js](https://github.com/hakimel/reveal.js) presentation generator. Current version uses reveal.js 3.6.0 ## Installation Simply install the gem: gem install reveal.rb ## Usage # 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. ## Configuration All currently supported configurations are made through `reveal.yml` file. ### Slides order There are two ways to order your slides: * **Manual order**: set `order` parameter to `manual` and list your slide names in `slides` parameter. This is the default configuration, and it's automatically done for you with `reveal add-slide` command. Any slide file created inside `source` directory but not included in the configuration file will be ignored. Example: <pre> --- order: manual slides: - slide1 - slide2 - slide3 </pre> * **Alphabetical order**: if you omit `order` parameter (or set it to anything other than `manual`), `reveal generate` command will add all slide files inside `source`, in alphabetical order. ### reveal.js configurations `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`.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
reveal.rb-0.5.3 | README.md |
reveal.rb-0.5.2 | README.md |
reveal.rb-0.5.1 | README.md |
reveal.rb-0.5.0 | README.md |