Skip to main content

extract_refs

Function extract_refs 

Source
pub fn extract_refs(body_md: &str) -> DocRefs
Expand description

Extract all references from a markdown body (frontmatter already stripped). Read-only: shares parsing helpers with the render path but never mutates render behavior. Directive bodies are recursed into; their references are reported with lines offset by the directive’s opening line.