Skip to content

scott/rhighlightjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rhighlightjs
============

It is the helper for higlight.js

http://softwaremaniacs.org/soft/highlight/
Author: Ivan Salagaev

Installation

./script/plugin install git://github.com/rubyhammer/rhighlightjs.git

OR

git clone git://github.com/rubyhammer/rhighlightjs.git ./vendor/plugins/

rake rhighlightjs:install

Example
=======

In view:

<%= highlighter 'dark', :languages => "'html','css','javascript','ruby'" %>

<pre><code class="ruby">
class Person
  def say
    puts "hello world"
  end
end
</code></pre>


Copyright (c) 2008 Roman V. Babenko aka romb, released under the MIT license

Blog: http://rubyhammer.com

About

JavaScript syntax code highlighter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published