Methods

Included Modules

Haml::Filters::Markdown

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.

Public Instance Methods

render(text) click to toggle source

@see Base#render

     # File lib/haml/filters.rb, line 358
358:       def render(text)
359:         engine = case @required
360:                  when 'rdiscount'
361:                    ::RDiscount
362:                  when 'peg_markdown'
363:                    ::PEGMarkdown
364:                  when 'maruku'
365:                    ::Maruku
366:                  when 'bluecloth'
367:                    ::BlueCloth
368:                  end
369:         engine.new(text).to_html
370:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.