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
commit 6cc95f2a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 10 deletions

View File

@ -179,18 +179,12 @@ Latest Version: [https://unpkg.com/browse/mermaid@8.8.0/](https://unpkg.com/brow
## Deploying Mermaid
To Deploy Mermaid:
```
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
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`
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):
**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:**