new(extensions = DEFAULT_EXTENSIONS, debug = false)
public
Creates a new markdown parser
that enables the given extensions.
# File lib/rdoc/markdown.rb, line 610
def initialize extensions = DEFAULT_EXTENSIONS, debug = false
@debug = debug
@formatter = RDoc::Markup::ToJoinedParagraph.new
@extensions = extensions
@references = nil
@unlinked_references = nil
@footnotes = nil
@note_order = nil
end