Gem to add reveal.js to the Rails Asset Pipeline.
Add this line to your application's Gemfile:
gem 'rails-reveal-js'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails-reveal-js
Add the following to your JavaScript manifest file (application.js):
//= require reveal
And add the following to your Stylesheet manifest file (application.css):
*= require reveal
If you desire to require (optional) reveal.js themes, you may include them as well in your Stylesheet manifest file (application.css). For example:
*= require reveal-theme/default
*= require reveal-theme/beige
*= require reveal-theme/blood
*= require reveal-theme/moon
*= require reveal-theme/night
*= require reveal-theme/serif
*= require reveal-theme/simple
*= require reveal-theme/sky
*= require reveal-theme/solarized
- Fork it ( http://github.com/negativetwelve/rails-reveal-js/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request