Skip to content

Commit eae129f

Browse files
committed
docs: show example of mermaid diagram
1 parent 7998876 commit eae129f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/mdx.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,17 @@ video.
158158

159159
You can use [mermaid](https://mermaid.js.org/) to create diagrams.
160160

161+
````
162+
```mermaid
163+
sequenceDiagram
164+
Alice->>John: Hello John, how are you?
165+
John-->>Alice: Very Great!!!!!
166+
Alice->>John: See you later!!
167+
```
168+
````
169+
170+
GitHub should render this:
171+
161172
```mermaid
162173
sequenceDiagram
163174
Alice->>John: Hello John, how are you?

0 commit comments

Comments
 (0)