class Kramdown::Parser::Kramdown

def parse_setext_header

Parse the Setext header at the current location.
def parse_setext_header
  return false if !after_block_boundary?
  @src.pos += @src.matched_size
  text, id, level = @src[1], @src[2], @src[3]
  text.strip!
  el = new_block_el(:header, nil, nil, :level => (level == '-' ? 2 : 1), :raw_text => text)
  add_text(text, el)
  el.attr['id'] = id if id
  @tree.children << el
  true
end