Skip to content

Instantly share code, notes, and snippets.

@achiurizo
Created April 12, 2010 05:57
Show Gist options
  • Save achiurizo/363312 to your computer and use it in GitHub Desktop.
Save achiurizo/363312 to your computer and use it in GitHub Desktop.
CODERAY = <<-CODERAY
require 'rack/coderay'
app.use Rack::Coderay,
"//pre[@lang]",
:line_numbers => :table
CODERAY
require_dependencies 'coderay', 'rack-coderay'
initializer :coderay,CODERAY
get 'http://coderay.rubychan.de/stylesheets/coderay.css', 'public/stylesheets/coderay.css'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment