class Kramdown::Parser::Kramdown

def parse_footnote_definition

Parse the foot note definition at the current location.
def parse_footnote_definition
  @src.pos += @src.matched_size
  el = Element.new(:footnote_def)
  parse_blocks(el, @src[2].gsub(INDENT, ''))
  warning("Duplicate footnote name '#{@src[1]}' - overwriting") if @doc.parse_infos[:footnotes][@src[1]]
  (@doc.parse_infos[:footnotes][@src[1]] = {})[:content] = el
  true
end