Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.395 kB
$: << File.expand_path(".") + '/lib'
require 'sinatra'
require 'glorify'
require 'erb'
set :markdown, :layout_engine => :erb
set :views, File.dirname(__FILE__)
Tilt.prefer Sinatra::Glorify::Template
get "/" do
markdown :README
end
__END__
@@layout
<html>
<head>
<link href="/pygments.css" media="screen" rel="stylesheet" type="text/css">
</head>
<body><%= yield %></body>
</html>
Jump to Line
Something went wrong with that request. Please try again.