@mermaid-lint/core
    Preparing search index...

    Function validateBlock

    • Validate an extracted Block end to end: structural checks (unclosed / empty fence), semantic warnings, then the fast Rust (merman) parser with a mermaid.js fallback for anything merman rejects. mermaid.js is treated as authoritative on the final verdict.

      Parameters

      • block: Block

        The block to validate.

      Returns Promise<ValidationResult>

      A ValidationResult carrying the verdict and any warnings.