Skip to main content

nested_links

Function nested_links 

Source
pub fn nested_links(body: &str) -> Vec<String>
Expand description

Scan a body for nested markdown links — a complete […](…) inside another link’s label. That is invalid markdown and, in an opys inventory, the footprint of linkify corruption; verify flags each occurrence. Fenced code blocks and inline code spans are skipped, like in linkify. Returns one truncated snippet per offending link.