Class: MarkdownFilter

Inherits:
TextFilter
  • Object
show all
Defined in:
lib/markdown_filter.rb

Instance Method Summary collapse

Instance Method Details

#filter(text) ⇒ Object



3
4
5
# File 'lib/markdown_filter.rb', line 3

def filter(text)
  BlueCloth.new(text, :smartypants => true).to_html
end