module CabbageDoc::Markdown

Public Class Methods

new() click to toggle source
# File lib/cabbage_doc/markdown.rb, line 12
def new
  Redcarpet::Markdown.new(
    HighlightedHTML.new,
    tables: true,
    fenced_code_blocks: true,
    disable_indented_code_blocks: true,
    autolink: true,
    no_intra_emphasis: true,
    strikethrough: true,
    space_after_headers: true,
    with_toc_data: true,
    hard_wrap: true
  )
end