Sha256: eba5706a04dddd7e68a82651d412f540b118b6d64c973c0c583a23fdc24ea954

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

require 'app'

use Rack::ShowExceptions
use Rack::Lint

use Rack::Codehighlighter, :ultraviolet, 
  :element => "pre", :pattern => /\A:::(\w+)\s*\n/,
  :themes => {"cobalt" => ["ruby"], "zenburnesque" => ["c", "sql"]},
  :logging => true

run Sinatra::Application

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-codehighlighter-0.4.7 examples/ultraviolet.ru
rack-codehighlighter-0.4.6 examples/ultraviolet.ru
rack-codehighlighter-0.4.5 examples/ultraviolet.ru