mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 12:55:49 +08:00
Bring back mermaid code fences in docs #6
This commit is contained in:
parent
aad4bf26e1
commit
2ab6982425
@ -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 */>}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user