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

    Interface Diagnostic

    A normalized diagnostic with absolute (document-relative) coordinates.

    This is the single shape every Markdown integration (markdownlint, remark, textlint, …) consumes, so they all share one extract → validate → report path instead of each re-deriving line mapping and error shaping.

    interface Diagnostic {
        column: number;
        line: number;
        message: string;
        ruleId: string;
        severity: Severity;
    }
    Index

    Properties

    column: number

    1-indexed column in the source document.

    line: number

    1-indexed line in the source document.

    message: string

    Human-readable message (no rule-id prefix; see ruleId).

    ruleId: string

    Stable id: 'mermaid' for syntax errors, else the semantic rule name.

    severity: Severity