v2.0.5
Fixed
- Set mermaid config option
useMaxWidth
tofalse
by default.
In Mermaid v9.1.7, some graph types default to using all the available horizontal space. On many markdown renderers, this creates very large diagrams, so by defaultremark-mermaid-dataurl
limits them to use a smaller amount of space (e.g. pre-v9.1.7 behaviour). - Fix passing
configFile
as a JS object.
Full Changelog: v2.0.4...v2.0.5