Skip to content

Commit

Permalink
docs: fix mermaid theme options typo (#8272)
Browse files Browse the repository at this point in the history
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
  • Loading branch information
ntucker and slorber committed Nov 2, 2022
1 parent 96eab89 commit 7387aab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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
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 7387aab

Please sign in to comment.