Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 769 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 769 Bytes

Rack Markdown

Serves a markdown file.

Usage

# config.ru
require 'rack/markdown'

run Rack::Markdown.new('path/to/file.markdown')

Then run:

rackup

And visit localhost:9292.

Ruby 1.9+

If you're using a newer version of Ruby, you'll need to run a thin server instead. There is an issue with Pygments.

Screenshot

Yep- it looks almost identical to Github's markdown parser.

Rack Markdown Screenshot

Contribution

Feel free. No pull request is too small.

Twitter: @cpatuzzo