Skip to main content

Module headings

Module headings 

Source
Expand description

ATX heading parsing utilities.

Functionsยง

try_parse_atx_heading
Try to parse an ATX heading from content, returns heading level (1-6) if found.
try_parse_setext_heading
Try to parse a setext heading from lines, returns (level, underline_char) if found.