mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
Bring back mermaid code fences in docs #6
This commit is contained in:
parent
aad4bf26e1
commit
2ab6982425
1 changed files with 20 additions and 0 deletions
|
@ -27,6 +27,26 @@ graph LR;
|
||||||
C -->|Two| E[Result two]
|
C -->|Two| E[Result two]
|
||||||
{{</mermaid>}}
|
{{</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
|
## Sequence example
|
||||||
|
|
||||||
{{</* mermaid */>}}
|
{{</* mermaid */>}}
|
||||||
|
|
Loading…
Reference in a new issue