Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: publish v2.0.5 of remark-mermaid-dataurl
Fixed ===== - Set mermaid config option `useMaxWidth` to `false` 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 default `remark-mermaid-dataurl` limits them to use a smaller amount of space (e.g. pre-v9.1.7 behaviour). See mermaid offical docs on the `useMaxWidth` option: https://mermaid-js.github.io/mermaid/#/Setup?id=usemaxwidth-1 - Fix passing `configFile` as a JS object.
- Loading branch information