Skip to main content

extract_markdown

Function extract_markdown 

Source
pub fn extract_markdown(
    source_path: &str,
    input: &str,
) -> Result<DocumentationDocument, DocumentationExtractionError>
Expand description

Extracts headings, owners, and explicit links from one Markdown document.

Classification uses only explicit path, front matter, and title conventions. Free-form prose is never interpreted semantically.

ยงErrors

Returns DocumentationExtractionError::InputTooLarge or DocumentationExtractionError::SourcePathTooLong when a bound is exceeded.