Added new doc for registering icon pack in mermaid

This commit is contained in:
saurabhg772244
2024-10-10 13:11:54 +05:30
parent 351ce30d8a
commit 9f6f1e96e5
7 changed files with 109 additions and 100 deletions

View File

@@ -932,7 +932,7 @@ Mermaid also introduces 2 special shapes to enhance your flowcharts: **icon** an
### Icon Shape
You can use the `icon` shape to include an icon in your flowchart. To use icons, you need to register the icon pack first. Follow the instructions provided [here](https://mermaid.js.org/syntax/architecture.html#icons). The syntax for defining an icon shape is as follows:
You can use the `icon` shape to include an icon in your flowchart. To use icons, you need to register the icon pack first. Follow the instructions provided [here](https://mermaid.js.org/config/icons.html). The syntax for defining an icon shape is as follows:
```mermaid-example
flowchart TD