- Notifications
You must be signed in to change notification settings - Fork113
Fast and easy syntax highlighting for selected languages, written in Ruby.
NotificationsYou must be signed in to change notification settings
rubychan/coderay
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
CodeRay is a Ruby library for syntax highlighting.
You put your code in, and you get it back colored; Keywords, strings, floats, comments - all in different colors. And with line numbers.
gem install coderay
CodeRay needs Ruby 1.8.7, 1.9.3 or 2.0+. It also runs on JRuby.
require'coderay'html=CodeRay.scan("puts 'Hello, world!'",:ruby).div(:line_numbers=>:table)
Seerubydoc.
About
Fast and easy syntax highlighting for selected languages, written in Ruby.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.


