lib/metadown.rb
def redcarpet_render(text)
    renderer = Renderer.new
    markdown = Redcarpet::Markdown.new(renderer)

    output = markdown.render(text)

    Data.new(renderer.metadata, output)
  end
# Classic compatiblity mode: fall back to old redcarpet renderer
Classic compatiblity mode: fall back to old redcarpet renderer
Classic compatiblity mode : fall back to old redcarpet renderer
def redcarpet_render(text)
    renderer = Renderer.new
    markdown = Redcarpet::Markdown.new(renderer)
    output = markdown.render(text)
    Data.new(renderer.metadata, output)
  end
def redcarpet_render ( text ) renderer = Renderer . new markdown = Redcarpet :: Markdown . new ( renderer ) output = markdown . render ( text ) Data . new ( renderer . metadata , output ) end
Classic compatiblity mode: fall back to old redcarpet renderer
Classic compatiblity mode : fall back to old redcarpet renderer
text