Raw diagram source. For indented fences, body lines retain the source
indentation prefix. The sentinel '__UNCLOSED_FENCE__' marks a fence with
no closing marker.
1-indexed column of the opening fence.
OptionalfileDocument-level suppression directives (<!-- mermaid-lint-disable-file -->)
found anywhere in the source document. Attached at extraction so every
integration that uses this extractor gets file scope without threading the
document text separately. Hand-built blocks (remark, textlint) populate
this themselves; omitting it just means file scope does not apply.
1-indexed line of the opening fence (or line 1 for whole-file .mmd).
Source file path the block came from.
Detected diagram type (e.g. 'flowchart', 'sequenceDiagram',
'unknown'). The value '---' is a meaningful sentinel rather than a
diagram type — see detectDiagramType.
A single Mermaid diagram extracted from a source document, with the location of its opening fence and the raw diagram body.