Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/negativetwelve/rails-reveal-js
Gem for adding Reveal.js to the Rails Asset Pipeline (Rails 4.0)
https://github.com/negativetwelve/rails-reveal-js
Last synced: 30 days ago
JSON representation
Gem for adding Reveal.js to the Rails Asset Pipeline (Rails 4.0)
- Host: GitHub
- URL: https://github.com/negativetwelve/rails-reveal-js
- Owner: negativetwelve
- License: mit
- Created: 2014-03-20T09:18:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-05T12:26:42.000Z (over 8 years ago)
- Last Synced: 2024-10-06T05:34:21.559Z (about 1 month ago)
- Language: Ruby
- Homepage: https://github.com/negativetwelve/rails-reveal-js
- Size: 116 KB
- Stars: 10
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rails-reveal-js
Gem to add [reveal.js](https://github.com/hakimel/reveal.js) to the Rails Asset Pipeline.
## Installation
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
## Usage
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## Contributing
1. Fork it ( http://github.com/negativetwelve/rails-reveal-js/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request