pub fn extract_refs(body: &str) -> Vec<FootnoteRef>Expand description
Extracts every [^label] reference from the body prose.
Definition lines are not counted as references to themselves, and footnotes inside fenced code blocks or inline code spans are ignored, since those are content, not attribution.