Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Jan 29, 2017
1 parent 8d91a42 commit fb70b97
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 14 deletions.
4 changes: 2 additions & 2 deletions dist/mermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -48269,9 +48269,9 @@ process.chdir = function (dir) {
};

},{}],108:[function(require,module,exports){
module.exports={
module.exports= {
"name": "mermaid",
"version": "6.0.0",
"version": "7.0.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
"main": "src/mermaid.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaid.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/mermaid.slim.js
Original file line number Diff line number Diff line change
Expand Up @@ -38764,9 +38764,9 @@ process.chdir = function (dir) {
};

},{}],107:[function(require,module,exports){
module.exports={
module.exports= {
"name": "mermaid",
"version": "6.0.0",
"version": "7.0.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
"main": "src/mermaid.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaid.slim.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/mermaidAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -47936,9 +47936,9 @@ process.chdir = function (dir) {
};

},{}],107:[function(require,module,exports){
module.exports={
module.exports= {
"name": "mermaid",
"version": "6.0.0",
"version": "7.0.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
"main": "src/mermaid.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaidAPI.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/mermaidAPI.slim.js
Original file line number Diff line number Diff line change
Expand Up @@ -38431,9 +38431,9 @@ process.chdir = function (dir) {
};

},{}],106:[function(require,module,exports){
module.exports={
module.exports= {
"name": "mermaid",
"version": "6.0.0",
"version": "7.0.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
"main": "src/mermaid.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaidAPI.slim.min.js

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions docs/content/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,39 @@ Would end up like this:
```
An id is also added to mermaid tags without id.

### Simple full example:
```html
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<!-- Downloaded as per http://knsv.github.io/mermaid/#installation -->
<!-- Stored in the same directory as html file -->
<link rel="stylesheet" href="mermaid.css">

<!-- Optional to use fontawesome -->
<!-- Downloaded as per http://fontawesome.io/get-started/ -->
<!-- Stored in the same directory as html file -->
<script src="https://use.fontawesome.com/7065416dc9.js"></script>

</head>
<body>

<!-- Include mermaid on your web page: -->
<script src="mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>

<div class="mermaid">
graph LR
A --- B
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
</div>

</body>
</html>
```
### Labels out of bounds

If you use dynamically loaded fonts that are loaded through CSS, such as Google fonts, mermaid should wait for the
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
{
"name": "mermaid",
"version": "6.0.0",
"version": "7.0.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
"main": "src/mermaid.js",
"keywords": [
Expand Down

0 comments on commit fb70b97

Please sign in to comment.