markdown_helper.rb 123 B

1234567
  1. module MarkdownHelper
  2. def markdown(text)
  3. Kramdown::Document.new(text, auto_ids: false).to_html.html_safe
  4. end
  5. end