class Kramdown::Parser::Base

def initialize(doc)

Initialize the parser with the given Kramdown document +doc+.
def initialize(doc)
  @doc = doc
  @doc.parse_infos.clear
  @text_type = :text
end