Skip to content

Commit

Permalink
Merge pull request #413 from sifb/patch-1
Browse files Browse the repository at this point in the history
Clarify the need for a CSS stylesheet
  • Loading branch information
knsv authored Nov 25, 2016
2 parents f5485c1 + a0dafb4 commit da99d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ bower install mermaid --save-dev
npm install mermaid --save-dev
```

Or download css and javascript files as per the url below, note that #version# should be replaced with version of choice:
Or download a javascript bundle and a stylesheet, e.g. the urls below are for the default style and the all-in-one javascript - note that #version# should be replaced with version of choice:

```
https://cdn.rawgit.com/knsv/mermaid/#version#/dist/mermaid.css
Expand All @@ -28,7 +28,7 @@ Ex:
Checkout the [latest version](https://github.com/knsv/mermaid/releases) and [other styles](https://github.com/knsv/mermaid/tree/master/dist) such as `forest` and `dark`.

There are some bundles to choose from:
* mermaid.js, mermaid.min.js This bundle contains everything you need to run mermaid
* mermaid.js, mermaid.min.js This bundle contains all the javascript libraries you need to run mermaid
* mermaid.slim.js, mermaid.slim.min.js This bundle does not contain d3 which is useful for sites that already have d3 in place
* mermaidAPI.js, mermaidAPI.min.js, This bundle does not contain the web integration provided in the other packages but has a render function instead returns svg code.

Expand Down

0 comments on commit da99d3b

Please sign in to comment.