mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-18 07:49:26 +02:00
Add installation guide to readme
This commit is contained in:
19
README.md
19
README.md
@@ -109,6 +109,25 @@ end
|
|||||||
</table>
|
</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
|
## Further reading
|
||||||
|
|
||||||
* [Usage](http://knsv.github.io/mermaid/#usage)
|
* [Usage](http://knsv.github.io/mermaid/#usage)
|
||||||
|
Reference in New Issue
Block a user