module Ramaze::Helper::Maruku

Public Instance Methods

maruku(text) click to toggle source

Shortcut to generate HTML from Markdown code using Maruku

@param [#to_str] text the markdown to be converted @return [String] html generated from text @author manveru

# File lib/ramaze/helper/maruku.rb, line 11
def maruku(text)
  ::Maruku.new(text.to_str).to_html
end