Module: Ramaze::Helper::Maruku
- Defined in:
- lib/ramaze/helper/maruku.rb
Instance Method Summary collapse
-
#maruku(text) ⇒ String
Shortcut to generate HTML from Markdown code using Maruku.
Instance Method Details
#maruku(text) ⇒ String
Shortcut to generate HTML from Markdown code using Maruku
11 12 13 |
# File 'lib/ramaze/helper/maruku.rb', line 11 def maruku(text) ::Maruku.new(text.to_str).to_html end |