layouts: add Mermaid support
All checks were successful
ci/woodpecker/push/deploy/2 Pipeline was successful
All checks were successful
ci/woodpecker/push/deploy/2 Pipeline was successful
Similar to Graphviz and TikZ support.
This commit is contained in:
parent
fc0479a1dc
commit
2118ba170f
3 changed files with 37 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ categories:
|
|||
favorite: false
|
||||
tikz: true
|
||||
graphviz: true
|
||||
mermaid: true
|
||||
---
|
||||
|
||||
## Test post please ignore
|
||||
|
|
@ -51,6 +52,19 @@ echo hello world | cut -d' ' -f 1
|
|||
}
|
||||
{{% /graphviz %}}
|
||||
|
||||
### Mermaid support
|
||||
|
||||
{{% mermaid %}}
|
||||
graph TD
|
||||
A[Enter Chart Definition] --> B(Preview)
|
||||
B --> C{decide}
|
||||
C --> D[Keep]
|
||||
C --> E[Edit Definition]
|
||||
E --> B
|
||||
D --> F[Save Image and Code]
|
||||
F --> B
|
||||
{{% /graphviz %}}
|
||||
|
||||
### Spoilers
|
||||
|
||||
{{% spoiler "Don't open me" %}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue