Skip to main content

try_parse_footnote_marker

Function try_parse_footnote_marker 

Source
pub fn try_parse_footnote_marker(line: &str) -> Option<(String, usize)>
Expand description

Try to parse just the footnote marker [^id]: from a line. Returns Some((id, content_start_col)) if the line starts with a footnote marker.

Syntax:

[^id]: Footnote content.