-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for front matter #4757
Comments
Looks like there are only two field supported: mermaid/packages/mermaid/src/diagram-api/frontmatter.ts Lines 25 to 46 in 31c0a0c
|
Yes, currently only title and displaymode are supported, but we just added full config support to frontmatter today via #4750. That has some added documentation |
The frontmatter docs at https://mermaid.js.org/config/configuration.html don't link to the actual config schema https://mermaid.js.org/config/schema-docs/config.html |
In decmeber 2022, some work was done to deprecate directives and replace with front matter. The code says "we will add autogeneration" soon. May I suggest deleting the comments? 528facf#diff-07b4dc784ba66fda0a8637bb0e3900db0012b9be7f4dbb52f1432e5865065708L30 |
There exist front matter for all diagrams (e.g., #3706), but there are no documentation of this
The text was updated successfully, but these errors were encountered: