pub fn heading_path_range(body: &str, path: &[&str]) -> Option<Range<usize>>Expand description
The section of the first heading whose text is path’s last segment and
whose nearest ancestors are the segments before it. Segments are compared
exactly, as given; an empty path selects nothing.