Update index.md

Minor grammatical and editorial changes; Updated Mermaid API section to make use of active voice for enhanced readability and comprehension.
This commit is contained in:
onayiga
2023-04-12 23:12:16 -04:00
parent 727bf30824
commit 1c98621cf4

View File

@@ -76,7 +76,7 @@ To Deploy Mermaid:
### [Mermaid API](../config/setup/README.md): ### [Mermaid API](../config/setup/README.md):
**To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaid.initialize` call into the HTML like so:** **To deploy mermaid without a bundler, insert a `script` tag with an absolute address and a `mermaid.initialize` call into the HTML using the following example:**
```html ```html
<script type="module"> <script type="module">
@@ -85,9 +85,9 @@ To Deploy Mermaid:
</script> </script>
``` ```
**Doing so will command the mermaid parser to look for the `<div>` or `<pre>` tags with `class="mermaid"`. From these tags mermaid will try to read the diagram/chart definitions and render them into SVG charts.** **Doing so commands the mermaid parser to look for the `<div>` or `<pre>` tags with `class="mermaid"`. From these tags, mermaid tries read the diagram/chart definitions and render them into SVG charts.**
**Examples can be found at** [Other examples](../syntax/examples.md) **Examples can be found in** [Other examples](../syntax/examples.md)
## Sibling projects ## Sibling projects