mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-09 06:12:28 +02:00
docs: fix mermaid theme options typo (#8272)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
96eab89c52
commit
7387aabbdc
2 changed files with 4 additions and 4 deletions
|
@ -68,13 +68,13 @@ See the [Mermaid theme documentation](https://mermaid-js.github.io/mermaid/#/the
|
||||||
|
|
||||||
## Mermaid Config {#configuration}
|
## 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"
|
```js title="docusaurus.config.js"
|
||||||
module.exports = {
|
module.exports = {
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
mermaid: {
|
mermaid: {
|
||||||
mermaidOptions: {
|
options: {
|
||||||
maxTextSize: 50,
|
maxTextSize: 50,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -68,13 +68,13 @@ See the [Mermaid theme documentation](https://mermaid-js.github.io/mermaid/#/the
|
||||||
|
|
||||||
## Mermaid Config {#configuration}
|
## 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"
|
```js title="docusaurus.config.js"
|
||||||
module.exports = {
|
module.exports = {
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
mermaid: {
|
mermaid: {
|
||||||
mermaidOptions: {
|
options: {
|
||||||
maxTextSize: 50,
|
maxTextSize: 50,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue