From 0de8f05385a13e9937ffea9e8023406bdc2974f6 Mon Sep 17 00:00:00 2001 From: Rei Date: Thu, 1 Dec 2011 01:58:48 +0800 Subject: [PATCH] update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 19a322d..8aa0e23 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ Rails pipeline wraper for highlight.js http://softwaremaniacs.org/soft/highlight/en/ +## Install + +In you Gemfile + +```ruby +gem 'highlight_js-rails' + +# or + +gem 'highlight_js-rails', :git => 'git://github.com/chloerei/highlight_js-rails.git' +``` + +Then `bundle install` + ## Usage application.js @@ -13,6 +27,8 @@ application.js hljs.initHighlightingOnLoad(); ``` +application.css + ```css *= require highlight_js/github ```