SemanticMediaWiki / Mermaid

Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
https://www.mediawiki.org/wiki/Extension:Mermaid
Other
36 stars 24 forks source link

Question - is it possible to use init directive, configure mermaid? #105

Open tmuras opened 8 months ago

tmuras commented 8 months ago

Is it possible to use init directive, e.g.: %%{ init: { 'flowchart': { 'curve': 'stepAfter', "defaultRenderer": "dagre" } } }%%

or frontmatter configuration, e.g.:

---
title: Hello Title
config:
  theme: base
  themeVariables:
    primaryColor: "#00ff00"
---