0
This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Go to file
2011-12-02 02:28:53 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
2011-12-02 02:28:53 +08:00

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
Description
Rails pipeline wraper for highlight.js
https://github.com/RedstonerServer/highlight_js-rails
Readme 431 KiB
Languages
Ruby 100%