Title / Description
Code require 'rubygems' require 'coderay' tokens = CodeRay.scan <<-'CODE', :ruby puts %[Hello, world!] puts "Here\'s some #@@weird #{ { :code => "for you" } }" CODE print tokens.div(:line_numbers => :table, :css => :class)
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code