mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Add installation guide to readme
This commit is contained in:
parent
1076d67137
commit
3a0e665c13
19
README.md
19
README.md
@ -109,6 +109,25 @@ end
|
||||
</table>
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
### CDN
|
||||
|
||||
```
|
||||
https://unpkg.com/mermaid@<version>/dist/
|
||||
```
|
||||
|
||||
Replace `<version>` with expected version number.
|
||||
|
||||
Example: https://unpkg.com/mermaid@7.0.3/dist/
|
||||
|
||||
### Node.js
|
||||
|
||||
```
|
||||
yarn add mermaid
|
||||
```
|
||||
|
||||
|
||||
## Further reading
|
||||
|
||||
* [Usage](http://knsv.github.io/mermaid/#usage)
|
||||
|
Loading…
x
Reference in New Issue
Block a user