* develop:
chore: Remove circular dependency
Update docs
docs: Add frontmatter config demos
docs: Add frontmatter config docs
fix: XSS vulnerability
chore: Minor typo fixes
chore: Add test with both frontmatter and directive
Update docs
feat: Add support for config in frontmatter
chore: Fix type in assignWithDepth
refactor: Move `sanitizeDirective` into `addDirective`
refactor: Rename and cleanup `directiveSanitizer`
* develop: (56 commits)
chore: Add comments on redirectMaps
remove `chart` from `pie.spec.ts` description
Update docs
change `defaultConfig` type to `RequiredDeep` and use it in `pieDb`
use `DiagramStylesProvider` in `pieStyles.ts`
remove `setConfig` and `resetConfig` in pie
add `structuredClone` in pie `getConfig`
cleanAndMerge pieConfig
remove cleanClone
feat: Add cleanAndMerge and tests
chore: Rename utils.spec.ts
move db assignment from `beforeEach` to `beforeAll`
create `structuredCleanClone` helper function
add more types to pieRenderer
add `resetConfig` to `clear` in pieDb
rename `reset` to `resetConfig`
use `structedClone` in `pieDb`
remove `PieDiagramConfig` and import generated one
remove unnecessary lines in pie files
remove unused `HTML` import in pieRenderer
...
* develop: (59 commits)
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
Add underscore to unit test on special Chars
Revert to old docs concerning quotations marks in string
Refactor unit tests and remove repetition
Correct idStringToken definition to include all individual special tokens
Add unit tests for node ids with special Chars
Create lychee.toml
create `selectSvgElement`
change `svgElem` to `SVG` in `configureSvgSize`
add `configureSvgSize` in infoRenderer
run docs:build
remove info sandbox test case
Remove replaceAll method in addLink
Modify HREF token regex to contain space
Add unit tests for stange node names
Remove escaped quotes with backslash feature
...
Adds a vitepress JsonSchema plugin that automatically loads
the Mermaid Config JSON Schema from a .schema.yaml file and
gets the default values from it.