Class: Vanilla::Renderers::Textile

Inherits:
Base
  • Object
show all
Defined in:
lib/vanilla/renderers/textile.rb

Instance Attribute Summary

Attributes inherited from Base

#app

Instance Method Summary collapse

Methods inherited from Base

escape_curly_braces, #include_snips, #initialize, #prepare, #raw_content, render, #render, #render_without_including_snips, snip_regexp

Constructor Details

This class inherits a constructor from Vanilla::Renderers::Base

Instance Method Details

#process_text(content) ⇒ Object



9
10
11
# File 'lib/vanilla/renderers/textile.rb', line 9

def process_text(content)
  RedCloth.new(content).to_html
end