module Haml::Filters::Markdown
def render(text)
- See: Base#render -
def render(text) engine = case @required when 'rdiscount' ::RDiscount when 'peg_markdown' ::PEGMarkdown when 'maruku' ::Maruku when 'bluecloth' ::BlueCloth when 'redcarpet' ::Redcarpet when 'kramdown' ::Kramdown::Document end engine.new(text).to_html end