markdown.state
detect_heading(line) -> level, content
line
level
content
Detect ATX heading (# through ######)