Validate every Mermaid block in markdown and return the per-block violations. Does not touch the filesystem.
markdown
Raw Markdown body (typically await readFile(file, 'utf8')).
await readFile(file, 'utf8')
Display name used in violation reports (the on-disk path; only used for output formatting).
Validate every Mermaid block in
markdownand return the per-block violations. Does not touch the filesystem.