Skip to main content

heading

Function heading 

Source
fn heading(line: &str) -> Option<(u8, &str)>
Expand description

How deep a heading is and what it says, if line is one: up to six #, a space, and something after it, less the # some close a heading with, a space after what it says.