ravenq / markdown-it-vue

The vue lib for markdown-it.
MIT License
347 stars 68 forks source link

Feature request: ability specify a full mermaid config object #27

Closed richardtallent closed 4 years ago

richardtallent commented 4 years ago

I'm trying to override the mermaid configuration, and there does not appear to be a way to "pass through" specific configuration parameters to the mermaid plugin. Rather than having a single mermaidTheme option, it would be nice to have a full mermaidOptions object, which could still override the default theme and Gantt information, but would allow additional options to be passed to Mermaid. I'm happy to help with a PR for this, if needed.