class Serif::Markdown
Public Class Methods
render(markdown)
click to toggle source
# File lib/serif/markup_renderer.rb, line 21 def self.render(markdown) options = { input: "GFM", auto_id_stripping: true, enable_coderay: false, hard_wrap: false, parse_block_html: false } Kramdown::Document.new(markdown, options).to_serif_custom end