class Kramdown::Parser::Kramdown

def parse_setext_header

Parse the Setext header at the current location.
def parse_setext_header
  return false unless after_block_boundary?
  text, id = parse_header_contents
  return false if text.empty?
  add_header(@src["level"] == '-' ? 2 : 1, text, id)
  true
end