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.
2015-01-25 16:00:01 +01:00
2015-01-25 16:00:01 +01:00
2015-01-25 16:00:01 +01:00
2011-12-01 01:55:52 +08:00
2012-08-14 23:47:39 +08:00
2012-08-14 23:47:39 +08:00
2012-08-14 23:47:39 +08:00
2011-12-01 01:55:52 +08:00
2012-02-12 14:04:04 +08:00
2011-12-01 01:55:52 +08:00
2011-12-01 01:55:52 +08:00
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
Description
Rails pipeline wraper for highlight.js
https://github.com/RedstonerServer/highlight_js-rails
Readme 431 KiB
Languages
Ruby 100%