Skip to content

Commit cf88666

Browse files
committed
update mermaid
1 parent 6b73c6b commit cf88666

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

components/icons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Use icons from popular icon libraries"
44
icon: "flag"
55
---
66

7-
Use icons from Font Awesome, Lucide, or custom icon URLs to enhance your documentation.
7+
Use icons from Font Awesome, Lucide, URLs, or files in your project to enhance your documentation.
88

99
<Icon icon="flag" size={32} />
1010

components/mermaid-diagrams.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
title: 'Mermaid'
3-
description: 'Display diagrams using Mermaid'
4-
icon: 'waypoints'
2+
title: "Mermaid"
3+
description: "Display diagrams using Mermaid"
4+
icon: "waypoints"
55
---
66

7-
Create visual diagrams using Mermaid's text-based syntax. Mermaid lets you build flowcharts, sequence diagrams, Gantt charts, and other diagram types using simple text commands.
7+
[Mermaid](https://mermaid.js.org/) lets you build flowcharts, sequence diagrams, Gantt charts, and other diagrams using text and code.
8+
9+
For a complete list of supported diagram types and syntax, see the [Mermaid documentation](https://mermaid.js.org/intro/).
810

911
<RequestExample>
1012

11-
````mdx Mermaid Flowchart Example
13+
````mdx Mermaid flowchart example
1214
```mermaid
1315
flowchart LR
1416
subgraph subgraph1
@@ -31,8 +33,6 @@ Create visual diagrams using Mermaid's text-based syntax. Mermaid lets you build
3133

3234
</RequestExample>
3335

34-
[Mermaid](https://mermaid.js.org/) is a JavaScript-based diagramming tool that renders markdown-inspired text definitions.
35-
3636
```mermaid
3737
flowchart LR
3838
subgraph subgraph1
@@ -52,8 +52,6 @@ Create visual diagrams using Mermaid's text-based syntax. Mermaid lets you build
5252
outside ---> top2
5353
```
5454

55-
For a complete list of supported diagram types, check out the [Mermaid website](https://mermaid.js.org/).
56-
5755
## Syntax
5856

5957
To create a Mermaid diagram, write your diagram definition inside a Mermaid code block.

0 commit comments

Comments
 (0)