Sha256: 1fb435070c607d8c7ea07bea81c6ba4d8bdc61548261d1bd7b9c15b821719dfc

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

$:.unshift File.dirname(__FILE__)
require 'app'

use Rack::ShowExceptions
use Rack::Lint

use Rack::Codehighlighter, :pygments_api, :element => "pre",
   :pattern => /\A:::([-_+\w]+)\s*\n/, :logging => true

run Sinatra::Application

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-codehighlighter-0.6.0 examples/pygments_api.ru
rack-codehighlighter-0.5.1 examples/pygments_api.ru
rack-codehighlighter-0.5.0 examples/pygments_api.ru