Method: Rodbot::Refinements#md_to_html
- Defined in:
- lib/rodbot/refinements.rb
permalink #md_to_html ⇒ String
Converts Markdown in the string to HTML
69 70 71 72 73 |
# File 'lib/rodbot/refinements.rb', line 69 refine String do def md_to_html Kramdown::Document.new(self, input: 'GFM').to_html.strip end end |