0.0
No commit activity in last 3 years
No release in over 3 years
Reveal.js for Rails 4.0 or higher
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.6
~> 4.0
>= 0
 Project Readme

Revealjs::Rails

Use Reveal.js in Rails 4.0 or higher. Gem version follows Reveal.js version, which is 2.6.2 right now.

Installation

Add this line to your application's Gemfile:

gem 'revealjs-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install revealjs-rails

Usage

Add the following directive to your Javascript manifest file (application.js):

//= require revealjs/reveal

Add the following directive to your Stylesheet manifest file (application.css):

*= require revealjs/reveal

Optionally, default theme css files. If you want other theme, just replace default with the theme name you want. Refer to Reveal.js site for available themes.

*= require revealjs/reveal-theme/default

Or if you use sass,

@import 'revealjs/reveal'
@import 'revealjs/reveal-theme/default'

Contributing

  1. Fork it ( https://github.com/[my-github-username]/revealjs-rails/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 a new Pull Request