diff --git a/docs/mermaidAPI.md b/docs/mermaidAPI.md index e962ffc70..7fa530406 100644 --- a/docs/mermaidAPI.md +++ b/docs/mermaidAPI.md @@ -19,7 +19,7 @@ These are the default options which can be overridden with the initialization ca
mermaid.initialize({ flowchart:{ - htmlLabels: false + htmlLabels: false } });@@ -27,7 +27,7 @@ mermaid.initialize({ **Example 2:**
- - +</script>-A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults). A description of each option follows below. + +A summary of all options and their defaults is found [here][2]. A description of each option follows below. ## theme @@ -333,3 +333,5 @@ mermaidAPI.initialize({ [1]: https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render + +[2]: https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults diff --git a/src/mermaidAPI.js b/src/mermaidAPI.js index 5dfd11277..08c090261 100644 --- a/src/mermaidAPI.js +++ b/src/mermaidAPI.js @@ -52,14 +52,14 @@ for (const themeName of ['default', 'forest', 'dark', 'neutral']) { *
* mermaid.initialize({ * flowchart:{ - * htmlLabels: false + * htmlLabels: false * } * }); ** * **Example 2:** *
- * + * </script> ** A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#mermaidapi-configuration-defaults). A description of each option follows below. *