Sha256: 37ec17d60e448b8d84d803fee6a3724e07616a81ddc7c5acdf88b769aac2281a

Contents?: true

Size: 462 Bytes

Versions: 8

Compression:

Stored size: 462 Bytes

Contents

# -*- coding: utf-8 -*-

path = File.join(File.expand_path(File.dirname(__FILE__)), "..", "lib")
$:.unshift(path) unless $:.include?(path)

require 'rubygems'
require 'sinatra'
require 'rdiscount'

gem 'wbzyl-sinatra-rdiscount'
require 'sinatra/rdiscount'

require 'codehighlighter-middleware'

require 'coderay'                # Coderay
require 'syntax/convertors/html' # Syntax
require 'uv'                     # Ultraviolet

get "/" do
  rdiscount :index
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
wbzyl-codehighlighter-middleware-0.1.0 examples/app.rb
wbzyl-codehighlighter-middleware-0.1.1 examples/app.rb
wbzyl-rack-codehighlighter-0.1.1 examples/app.rb
wbzyl-rack-codehighlighter-0.1.2 examples/app.rb
wbzyl-rack-codehighlighter-0.1.3 examples/app.rb
wbzyl-rack-codehighlighter-0.1.4 examples/app.rb
wbzyl-rack-codehighlighter-0.1.5 examples/app.rb
wbzyl-rack-codehighlighter-0.1.6 examples/app.rb