Skip to main content

parse_heading

Function parse_heading 

Source
pub fn parse_heading(input: &str) -> Option<(u8, String)>
Expand description

Parses a markdown-style heading line, returning the level (1–6) and text.