class Kramdown::Parser::Kramdown

def parse(source)

The source string provided on initialization is parsed and the created +tree+ is returned.
def parse(source)
  configure_parser
  tree = Element.new(:root)
  parse_blocks(tree, adapt_source(source))
  update_tree(tree)
  replace_abbreviations(tree)
  @doc.parse_infos[:footnotes].each do |name, data|
    update_tree(data[:content])
  end
  tree
end