Open ghost opened 4 years ago
Thanks! Should we maybe add an env variable for options or something like that?
Thanks! Should we maybe add an env variable for options or something like that?
That would be great of course, e.g. a MERMAID_CFG
similar to the PUPPETEER_CFG
This is not really an issue, but a workaround I would like to share with other users.
This issue has a proposed workaround which requires that I pass the
-c
option with a config file to mermaid. In this pandoc filter I did not find a way to pass this option (correct me if I'm wrong), so I found a workaround.I added the
-c
option in themmdc.cmd
file directly to pass the CSS:Where
mermaid-config.json
looks like:Now the charts rendered by this filter show the labels correctly again.