class RedcarpetCompat
Markdown.
and no accessors to change this. 100% pure, standard
API. This instance has no extensions enabled whatsoever,
Creates a instance of Redcarpet with the RedCloth
Compatibility class;
def initialize(text, *_dummy)
def initialize(text, *_dummy) @text = text @markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) end
def to_html(*_dummy)
def to_html(*_dummy) @markdown.render(@text) end