Parses the filtered text with [Markdown](daringfireball.net/projects/markdown). Only works if [RDiscount](github.com/rtomayko/rdiscount), [RPeg-Markdown](github.com/rtomayko/rpeg-markdown), [Maruku](maruku.rubyforge.org), or [BlueCloth](www.deveiate.org/projects/BlueCloth) are installed.
@see Base#render
# File lib/haml/filters.rb, line 344
344: def render(text)
345: engine = case @required
346: when 'rdiscount'
347: ::RDiscount
348: when 'peg_markdown'
349: ::PEGMarkdown
350: when 'maruku'
351: ::Maruku
352: when 'bluecloth'
353: ::BlueCloth
354: end
355: engine.new(text).to_html
356: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.