Happy Saturday everyone!
I’m pleased to officially announce glorify[1], a sinatra extension to
help
parse markdown and provide syntax highlighting.
You can install it using rubygems:
$ gem install rubygems
Or with bundler, in your ‘Gemfile’:
source :rubygems
gem ‘sinatra’
gem ‘glorify’
It was a lot of fun writing this, and I hope that someone will find it
useful.
Thanks goes out to Jonathan Stott for helping rewrite the renderer to
use
redcarpet 2.0
For usage, and other useful tidbits, check the readme[1].
1: GitHub - zzak/glorify: Sinatra helper to parse markdown with syntax highlighting like the pros