-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4680d17
commit b5136e7
Showing
3 changed files
with
36 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,33 @@ | ||
--- | ||
title: mermaid | ||
draft: true | ||
--- | ||
|
||
## rehype-mermaid | ||
|
||
### flow chart | ||
|
||
```mermaid | ||
graph LR | ||
accTitle: Big Decisions | ||
accDescr: Bob's Burgers process for making big decisions | ||
A[Identify Big Decision] --> B{Make Big Decision} | ||
B --> D[Be done] | ||
flowchart TB | ||
c1-->a2 | ||
subgraph one | ||
a1-->a2 | ||
end | ||
subgraph two | ||
b1-->b2 | ||
end | ||
subgraph three | ||
c1-->c2 | ||
end | ||
one --> two | ||
three --> two | ||
two --> c2 | ||
``` | ||
|
||
```mermaid strategy=inline class=not-content | ||
graph LR | ||
accTitle: Big Decisions | ||
accDescr: Bob's Burgers process for making big decisions | ||
A[Identify Big Decision] --> B{Make Big Decision} | ||
B --> D[Be done] | ||
### sequence diagram | ||
|
||
```mermaid | ||
sequenceDiagram | ||
Alice->>John: Hello John, how are you? | ||
John-->>Alice: Great! | ||
Alice-)John: See you later! | ||
``` |