docs: Add frontmatter config docs

This commit is contained in:
Sidharth Vinod
2023-08-21 15:02:05 +05:30
parent 2967b3c1bb
commit 8ac7dc81e0
6 changed files with 60 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Directives
```warning
Directives are deprecated from v<MERMAID_RELEASE_VERSION>. Please use the `config` key in frontmatter to pass configuration. See [Configuration](./configuration.md) for more details.
```
## Directives
Directives give a diagram author the capability to alter the appearance of a diagram before rendering by changing the applied configuration.