Add installation guide to readme

This commit is contained in:
Tyler Long 2017-06-04 12:21:13 +08:00
parent 1076d67137
commit 3a0e665c13

View File

@ -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)