Machine-readable identifier for the diagnostic kind.
Current codes:
"unclosed-block" — a block element has no matching close tag."inline-block-element" — a block element (e.g. [[div]]) is used
inline without the required trailing newline.Human-readable description of the issue.
Source range where the issue was detected.
OptionalrelatedAn optional related source range that provides additional context (e.g. the opening tag position when reporting a missing close tag).
How severe the issue is.
A single diagnostic emitted during parsing.
Each diagnostic pinpoints a source location via Position and carries a machine-readable code string for programmatic filtering (e.g.
"unclosed-block","inline-block-element").Example
Since
2.0.0