pub fn fragment_range( body: &str, fragment: Option<&str>, ) -> Option<Range<usize>>
What a link fragment selects: no fragment the whole body, ^id a block, anything else a heading selector (heading_range). All trimmed.
^id
heading_range