From cbe26619261f7f4e1d9790c2516987f575184b5f Mon Sep 17 00:00:00 2001 From: Anthony Ingle Date: Fri, 2 Aug 2024 04:01:21 -0700 Subject: [PATCH 1/2] update docs to reference mermaidConfig correctly --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6abf960..7f42f64 100644 --- a/README.md +++ b/README.md @@ -95,11 +95,11 @@ The options used to launch the browser. (`object`) - **Note**: This options is required in Node.js. In the browser this option is unused. -#### `mermaidOptions` +#### `mermaidConfig` -The [mermaid options](https://mermaid-js.github.io/mermaid/#/Setup) to use. +The [mermaid config](https://mermaid.js.org/config/schema-docs/config.html) to use. -**Note**: This options is only supported in Node.js. In the browser this option is unused. If you +**Note**: This config is only supported in Node.js. In the browser this option is unused. If you use this in a browser, call `mermaid.initialize()` manually. #### `prefix` From 0fa980d23ef20e2f1d8a86b28be67940a56a93df Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Sat, 3 Aug 2024 13:02:10 +0200 Subject: [PATCH 2/2] Format README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7a84c5..53da477 100644 --- a/README.md +++ b/README.md @@ -93,8 +93,8 @@ The options used to launch the browser. (`object`) The [mermaid config](https://mermaid.js.org/config/schema-docs/config.html) to use. -**Note**: This config is only supported in Node.js. In the browser this option is unused. If you -use this in a browser, call `mermaid.initialize()` manually. +**Note**: This config is only supported in Node.js. In the browser this option is unused. If you use +this in a browser, call `mermaid.initialize()` manually. #### `prefix`