Skip to content

Commit

Permalink
backport mermaid doc fix to 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 2, 2022
1 parent fad9a29 commit d83c323
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ See the [Mermaid theme documentation](https://mermaid-js.github.io/mermaid/#/the

## Mermaid Config {#configuration}

Options in `mermaid.mermaidOptions` will be passed directly to `mermaid.initialize`:
Options in `mermaid.options` will be passed directly to `mermaid.initialize`:

```js title="docusaurus.config.js"
module.exports = {
themeConfig: {
mermaid: {
mermaidOptions: {
options: {
maxTextSize: 50,
},
},
Expand Down

0 comments on commit d83c323

Please sign in to comment.