Sha256: 7aa83910f532aa11906201a07cc861fd58b92c5188d1f2942358ef60008dbe84

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

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

use Rack::ShowExceptions
use Rack::Lint

require 'rygments'
use Rack::Codehighlighter, :pygments, :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.ru
rack-codehighlighter-0.5.1 examples/pygments.ru
rack-codehighlighter-0.5.0 examples/pygments.ru