markdown(text)
public
Returns the text with all the Markdown codes turned into HTML tags. This method is only available if BlueCloth is
available.
# File actionpack/lib/action_view/helpers/text_helper.rb, line 144
def markdown(text)
text.blank? ? "" : BlueCloth.new(text).to_html
end