0
Rails pipeline wraper for highlight.js https://github.com/RedstonerServer/highlight_js-rails
This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2015-01-25 16:00:01 +01:00
lib update to higlight.js 8.4 2015-01-25 16:00:01 +01:00
vendor/assets update to higlight.js 8.4 2015-01-25 16:00:01 +01:00
.gitignore first commit. 2011-12-01 01:55:52 +08:00
AUTHORS.en.txt Update to 7.1 2012-08-14 23:47:39 +08:00
AUTHORS.ru.txt Update to 7.1 2012-08-14 23:47:39 +08:00
classref.txt Update to 7.1 2012-08-14 23:47:39 +08:00
Gemfile first commit. 2011-12-01 01:55:52 +08:00
highlight_js-rails.gemspec dependency >= 3.1.1 2012-02-12 14:04:04 +08:00
LICENSE first commit. 2011-12-01 01:55:52 +08:00
Rakefile first commit. 2011-12-01 01:55:52 +08:00
README.md update to higlight.js 8.4 2015-01-25 16:00:01 +01:00

Highlight.js for rails 4

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

This is a fork updated to higlightjs 8.4

Install

In you Gemfile:

gem 'highlight_js-rails', :git => 'git://github.com/RedstonerServer/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