Sha256: 6a0f9349bbcd55071cb74bb132a989beff1724d816cfae150f3be029af91d922

Contents?: true

Size: 672 Bytes

Versions: 8

Compression:

Stored size: 672 Bytes

Contents

require 'app'

use Rack::ShowExceptions
use Rack::Lint

# use default options

#use Rack::Codehighlighter, :prettify, :element => "pre", :pattern => /\A:::(\w+)\s*\n/, :logging => true

#use Rack::Codehighlighter, :coderay,  :element => "pre", :pattern => /\A:::(\w+)\s*\n/, :logging => true

#use Rack::Codehighlighter, :syntax,   :element => "pre", :pattern => /\A:::(\w+)\s*\n/, :logging => true

use Rack::Codehighlighter, :ultraviolet, :theme => 'dawn',
                                       :element => "pre", :pattern => /\A:::(\w+)\s*\n/, :logging => true

#use Rack::Codehighlighter, :censor, :reason => '[[--  ugly code removed  --]]'

run Sinatra::Application

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
wbzyl-rack-codehighlighter-0.2.2 examples/config.ru
wbzyl-rack-codehighlighter-0.2.4 examples/config.ru
rack-codehighlighter-0.4.4 examples/config.ru
hyperbolist-rack-codehighlighter-0.4.4 examples/config.ru
hyperbolist-rack-codehighlighter-0.4.3 examples/config.ru
hyperbolist-rack-codehighlighter-0.4.2 examples/config.ru
rack-codehighlighter-0.4.1 examples/config.ru
rack-codehighlighter-0.4.0 examples/config.ru