Skip to content

Commit

Permalink
Updated mermaid to include also PR that adds support for multiple lin…
Browse files Browse the repository at this point in the history
…kStyle in a single line

See mermaid-js/mermaid#798

Also, added an example to the exampleSite
  • Loading branch information
ivan-danilov committed Feb 21, 2019
1 parent 1a387f4 commit ba28338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions exampleSite/content/shortcodes/mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ graph LR;
linkStyle 0 stroke:#f00,stroke-width:4px;
Y --> Z
Z --> X
linkStyle 1,2 interpolate basis stroke:#0f0,stroke-width:2px;
X --> A1
subgraph right
A2 --> B2
Expand All @@ -57,6 +58,7 @@ graph LR;
linkStyle 0 stroke:#f00,stroke-width:4px;
Y --> Z
Z --> X
linkStyle 1,2 interpolate basis stroke:#0f0,stroke-width:2px;
X --> A1
subgraph right
A2 --> B2
Expand Down
4 changes: 2 additions & 2 deletions static/mermaid/mermaid.js

Large diffs are not rendered by default.

0 comments on commit ba28338

Please sign in to comment.