Skip to main content

match_section

Function match_section 

Source
pub fn match_section(
    line: &str,
    section_map: &IndexMap<String, String>,
) -> Option<String>
Expand description

Section slug for a header line, or None. A subtitle-qualified header (ACT ONE: "Yesterday") matches on the part before the first colon.