From 7f464440e49aacb4ababe51b5cfa29b725ae42ea Mon Sep 17 00:00:00 2001 From: James Wiens Date: Tue, 31 May 2022 14:33:02 -0700 Subject: [PATCH 1/2] Fix typo --- docs/mermaidAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mermaidAPI.md b/docs/mermaidAPI.md index e4b26a7..473fbd5 100644 --- a/docs/mermaidAPI.md +++ b/docs/mermaidAPI.md @@ -43,7 +43,7 @@ This option decides the amount of logging to be used. Sets the level of trust to be used on the parsed diagrams. -- **true**: (**default**) tags in text are encoded, click functionality is disabeled +- **true**: (**default**) tags in text are encoded, click functionality is disabled - **false**: tags in text are allowed, click functionality is enabled ## startOnLoad From 3107cde0d37fa5788ef26c225c8bcaf3b4b5e9c6 Mon Sep 17 00:00:00 2001 From: James Wiens Date: Tue, 31 May 2022 14:34:31 -0700 Subject: [PATCH 2/2] Fix another typo in mermaidAPI --- docs/mermaidAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mermaidAPI.md b/docs/mermaidAPI.md index 473fbd5..da1e9c4 100644 --- a/docs/mermaidAPI.md +++ b/docs/mermaidAPI.md @@ -5,7 +5,7 @@ This is the api to be used when handling the integration with the web page instead of using the default integration (mermaid.js). -The core of this api is the **render** function that given a graph definitionas text renders the graph/diagram and +The core of this api is the **render** function that, given a graph definition text, renders the graph/diagram and returns a svg element for the graph. It is is then up to the user of the API to make use of the svg, either insert it somewhere in the page or something completely different.