Skip to content

Commit

Permalink
Bring back mermaid code fences in docs #6
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jul 2, 2021
1 parent aad4bf2 commit 2ab6982
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions exampleSite/content/shortcodes/mermaid.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@ graph LR;
C -->|Two| E[Result two]
{{</mermaid>}}

or you can use this alternative syntax:

```mermaid
graph LR;
A[Hard edge] -->|Link text| B(Round edge)
B --> C{Decision}
C -->|One| D[Result one]
C -->|Two| E[Result two]
```

renders as

```mermaid
graph LR;
A[Hard edge] -->|Link text| B(Round edge)
B --> C{Decision}
C -->|One| D[Result one]
C -->|Two| E[Result two]
```

## Sequence example

{{</* mermaid */>}}
Expand Down

0 comments on commit 2ab6982

Please sign in to comment.