module RTFDoc

Constants

VERSION

Public Class Methods

markdown_to_html(text) click to toggle source
# File lib/rtfdoc.rb, line 528
def self.markdown_to_html(text)
  renderer.render(text)
end
renderer() click to toggle source
# File lib/rtfdoc.rb, line 518
def self.renderer
  @renderer ||= Redcarpet::Markdown.new(Renderer, {
    underline:            true,
    space_after_headers:  true,
    fenced_code_blocks:   true,
    no_intra_emphasis:    true,
    tables:               true
  })
end