Class: Flue::MarkdownFilter
- Inherits:
-
Object
- Object
- Flue::MarkdownFilter
- Defined in:
- lib/flue/content_filter.rb
Instance Method Summary collapse
Instance Method Details
#call(input, options = {}) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/flue/content_filter.rb', line 13 def call(input, ={}) maruku = Maruku.new(input) if [:partial] maruku.to_html else maruku.to_html_document end end |