class Kramdown::Parser::Kramdown
def initialize(doc)
def initialize(doc) super(doc) @src = nil @tree = nil @stack = [] @text_type = :raw_text @block_ial = nil @doc.parse_infos[:ald] = {} @doc.parse_infos[:link_defs] = {} @doc.parse_infos[:abbrev_defs] = {} @doc.parse_infos[:footnotes] = {} @block_parsers = [:blank_line, :codeblock, :codeblock_fenced, :blockquote, :table, :atx_header, :setext_header, :horizontal_rule, :list, :definition_list, :link_definition, :block_html, :footnote_definition, :abbrev_definition, :ald, :block_math, :block_extension, :block_ial, :eob_marker, :paragraph] @span_parsers = [:emphasis, :codespan, :autolink, :span_html, :footnote_marker, :link, :smart_quotes, :inline_math, :span_extension, :span_ial, :html_entity, :typographic_syms, :line_break, :escaped_chars] end