pub fn section_range(
note_text: &str,
heading: &str,
chunk_text: &str,
) -> Option<Range<usize>>Expand description
Locates the byte range of the section identified by heading/
chunk_text within note_text. None when nothing resolves — the
reader then shows the note from the top, unhighlighted. Pure function: no
I/O, no vault access.