No commit activity in last 3 years
No release in over 3 years
Rails pipeline wraper for highlight.js
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 3.1.1
 Project Readme

Highlight.js for rails 3.1

Rails pipeline wraper for highlight.js http://softwaremaniacs.org/soft/highlight/en/

Install

In you Gemfile

gem 'highlight_js-rails'

# or

gem 'highlight_js-rails', :git => 'git://github.com/chloerei/highlight_js-rails.git'

Then bundle install

Usage

application.js

//= require highlight_js/highlight
//= require highlight_js/languages/ruby

hljs.initHighlightingOnLoad();

application.css

*= require highlight_js/github