Skip to content

Commit

Permalink
Update flowchart.md mermaid-js#5195
Browse files Browse the repository at this point in the history
  • Loading branch information
arukiidou committed Jan 14, 2024
1 parent 1c43e8e commit 3d018e9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/mermaid/src/docs/syntax/flowchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,15 @@ flowchart TD

Mermaid is compatible with Font Awesome up to version 5, Free icons only. Check that the icons you use are from the [supported set of icons](https://fontawesome.com/v5/search?o=r&m=free).

You can use this method to add mermaid including the fontawesome icon to a web page:

```html
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet" />
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
</script>
```

## Graph declarations with spaces between vertices and link and without semicolon

- In graph declarations, the statements also can now end without a semicolon. After release 0.2.16, ending a graph statement with semicolon is just optional. So the below graph declaration is also valid along with the old declarations of the graph.
Expand Down

0 comments on commit 3d018e9

Please sign in to comment.