Merge pull request #1964 from beaudry/patch-1

Fix formatting in the docs
This commit is contained in:
GDFaber
2021-03-26 17:00:25 +01:00
committed by GitHub

View File

@@ -179,18 +179,12 @@ Latest Version: [https://unpkg.com/browse/mermaid@8.8.0/](https://unpkg.com/brow
## Deploying Mermaid ## Deploying Mermaid
To Deploy Mermaid: To Deploy Mermaid:
``` 1. You will need to install node v10 or 12, which would have npm
1.You will need to install node v10 or 12, which would have npm 2. Download yarn using npm
3. Enter the following command: `yarn add mermaid`
2. download yarn using npm.
3. enter the following command:
yarn add mermaid
4. You can then add mermaid as a dev dependency using this command: 4. You can then add mermaid as a dev dependency using this command:
yarn add --dev mermaid `yarn add --dev mermaid`
```
## [Mermaid API](./Setup.md): ## [Mermaid API](./Setup.md):
**To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaidAPI` call into the HTML like so:** **To deploy mermaid without a bundler, one can insert a `script` tag with an absolute address and a `mermaidAPI` call into the HTML like so:**