tryAtxHeading

Tries to lex an ATX heading: 0–3 spaces, 1–6 #s, then space/tab/line-end. Returns a pair of (AtxHeadingMarker, AtxHeadingContent?) or null.