Validate raw diagram source with the bundled mermaid.js parser, the
authoritative engine for error location and final verdict. Boots a jsdom
window lazily on first call. Returns a syntax error without semantic
warnings; use validateBlock for the full pipeline.
Validate raw diagram source with the bundled mermaid.js parser, the authoritative engine for error location and final verdict. Boots a jsdom window lazily on first call. Returns a syntax error without semantic warnings; use validateBlock for the full pipeline.