Module: Haml::Filters::PostModern
- Includes:
- Base
- Defined in:
- lib/post-modern/haml/filters/post_modern.rb
Instance Method Summary collapse
Instance Method Details
#render(text) ⇒ Object
6 7 8 9 |
# File 'lib/post-modern/haml/filters/post_modern.rb', line 6 def render(text) #Redcarpet.new(text, :smart, :autolink, :fenced_code, :hard_wrap, :gh_blockcode).to_html ::PostModern.render(text) end |