Module: HasMarkup::Textile::InstanceMethods
- Defined in:
- lib/has_markup/textile.rb
Instance Method Summary collapse
Instance Method Details
#generate_html_from_markdown(textile) ⇒ Object
20 21 22 |
# File 'lib/has_markup/textile.rb', line 20 def generate_html_from_markdown(textile) RedCloth.new(textile).to_html unless textile.blank? end |