extended-markdown-filter
Extended Markdown filters for the HTML::Pipeline.
Installation
Add this line to your application's Gemfile:
gem 'extended-markdown-filter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install extended-markdown-filter
Usage
The simplest way to do this is
require 'extended-markdown-filter'
Then just use the HTML pipeline normally.
Within Jekyll
Because of the Liquid template engine, if you use this filter with Jekyll, you might find that your curly brace tags--such as {{#tip}}--disappear.
You'll need to pass the context emf_use_blocks through your filter. This sets up a totally safe monkey-patch to convert the {{ }} blocks into [[ ]], so that Liquid ignores them. Then, this renderer will convert the Markdown appropriately.