Skip to main content

load_markdown_text

Function load_markdown_text 

Source
pub fn load_markdown_text(
    source: &str,
    source_path: Option<String>,
) -> Result<ResolvedContent, LoadError>
Expand description

Parse in-memory Markdown for the direct mant - command.

This helper accepts only caller-supplied text and labels; it has no request schema or query view, and never resolves another document.

ยงErrors

Returns LoadError::EmptyMarkdown when parsing yields no document heading, blocks, sections, or quick reference.