diff --git a/docs/syntax/mindmap.md b/docs/syntax/mindmap.md index f97ecc99f..81649351a 100644 --- a/docs/syntax/mindmap.md +++ b/docs/syntax/mindmap.md @@ -270,11 +270,13 @@ You can still use the pre 9.4.0 method to add mermaid with mindmaps to a web pag From version 9.4.0 you can simplify this code to: - +```html + +``` -or is you prefere not using an esm package: +or if you prefer not using the ESM package: ```html @@ -282,4 +284,4 @@ or is you prefere not using an esm package: Note that more complex integrations that use the **render** function directly need to use the **renderAsync** method instead in order to render mind maps. -You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/fcf53c98c25604c90a218104268c339be53035a6/src/lib/util/mermaid.ts) to see how the async loading is done. +You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/develop/src/lib/util/mermaid.ts) to see how the async loading is done. diff --git a/docs/syntax/timeline.md b/docs/syntax/timeline.md index dbbb3521e..943f247a0 100644 --- a/docs/syntax/timeline.md +++ b/docs/syntax/timeline.md @@ -469,6 +469,6 @@ You can use this method to add mermaid including the timeline diagram to a web p ``` -Note that more complex integrations that the **render** function directly need to use the **renderAsync** method instead in order to render mind maps. +Note that more complex integrations that the **render** function directly need to use the **renderAsync** method instead in order to render timeline. -You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/fcf53c98c25604c90a218104268c339be53035a6/src/lib/util/mermaid.ts) to see how the async loading is done. +You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/develop/src/lib/util/mermaid.ts) to see how the async loading is done. diff --git a/packages/mermaid/src/docs/syntax/mindmap.md b/packages/mermaid/src/docs/syntax/mindmap.md index 9bb8e9d78..cce7d2e3d 100644 --- a/packages/mermaid/src/docs/syntax/mindmap.md +++ b/packages/mermaid/src/docs/syntax/mindmap.md @@ -178,13 +178,13 @@ You can still use the pre 9.4.0 method to add mermaid with mindmaps to a web pag From version 9.4.0 you can simplify this code to: -``` +```html ``` -or is you prefere not using an esm package: +or if you prefer not using the ESM package: ```html @@ -192,4 +192,4 @@ or is you prefere not using an esm package: Note that more complex integrations that use the **render** function directly need to use the **renderAsync** method instead in order to render mind maps. -You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/fcf53c98c25604c90a218104268c339be53035a6/src/lib/util/mermaid.ts) to see how the async loading is done. +You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/develop/src/lib/util/mermaid.ts) to see how the async loading is done. diff --git a/packages/mermaid/src/docs/syntax/timeline.md b/packages/mermaid/src/docs/syntax/timeline.md index 784156036..94a485d22 100644 --- a/packages/mermaid/src/docs/syntax/timeline.md +++ b/packages/mermaid/src/docs/syntax/timeline.md @@ -301,6 +301,6 @@ You can use this method to add mermaid including the timeline diagram to a web p ``` -Note that more complex integrations that the **render** function directly need to use the **renderAsync** method instead in order to render mind maps. +Note that more complex integrations that the **render** function directly need to use the **renderAsync** method instead in order to render timeline. -You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/fcf53c98c25604c90a218104268c339be53035a6/src/lib/util/mermaid.ts) to see how the async loading is done. +You can also refer the implementation in the live editor [here](https://github.com/mermaid-js/mermaid-live-editor/blob/develop/src/lib/util/mermaid.ts) to see how the async loading is done.