Title / Description
Code diff = "puts 'Hello, world!'\nputs 'Goodbye, world!'" html = CodeRay.scan(diff, :diff).div(:line_numbers => :table, :css => :style)
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