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 @footnotes[@src[1]]
  (@footnotes[@src[1]] = {})[:content] = el
  @tree.children << Element.new(:eob, :footnote_def)
  true
end