Comments may no longer appear before frontmatter #5910
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
In mermaid 10.9.1 it’s allowed to add a comment before the frontmatter. In mermaid 11, it’s not.
Steps to reproduce
Paste the diagram below into the mermaid live editor
Screenshots
From the browser console in the live editor:
Code Sample
Setup
Suggested Solutions
Either document this as a breaking change, or add back support.
Additional Context
I’m running into this in mermaid-isomorphic because of this test and this test fixture.
The text was updated successfully, but these errors were encountered: