class Kramdown::Parser::Kramdown
def parse_footnote_definition
def parse_footnote_definition start_line_number = @src.current_line_number @src.pos += @src.matched_size el = Element.new(:footnote_def, nil, nil, :location => start_line_number) parse_blocks(el, @src[2].gsub(INDENT, '')) warning("Duplicate footnote name '#{@src[1]}' on line #{start_line_number} - overwriting") if @footnotes[@src[1]] (@footnotes[@src[1]] = {})[:content] = el @tree.children << Element.new(:eob, :footnote_def) true end