module MD2DW

Constants

ART
AUTHOR
EMAIL
HOMEPAGE
SUMMARY
VERSION

Public Class Methods

render(markdown) click to toggle source
# File lib/md2dw/md2dw.rb, line 6
def self.render markdown
  renderer = Redcarpet::Markdown.new \
    DokuwikiRenderer,
    no_intra_emphasis: true,
    fenced_code_blocks: true,
    strikethrough: true,
    footnotes: true,
    tables: true
  renderer.render markdown
end