Skip to content

Commit

Permalink
Merge pull request #3271 from heyfirst/docs/fix/font-awesome
Browse files Browse the repository at this point in the history
fix: add font-awesome css to docsify index.html
  • Loading branch information
knsv committed Aug 4, 2022
2 parents c2a34b5 + dd4459f commit 6f7670e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/flowchart.md
Expand Up @@ -612,12 +612,14 @@ The icons are accessed via the syntax fa:#icon class name#.

```mermaid-example
flowchart TD
B["fa:fa-twitter for peace"]
B["fab:fa-twitter for peace"]
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
B-->E(A fa:fa-camera-retro perhaps?)
```

?> Mermaid is now only compatible with Font Awesome versions 4 and 5. Check that you are using the correct version of Font Awesome.


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

Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Expand Up @@ -17,6 +17,7 @@
/>
<!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> -->
<link rel="stylesheet" href="theme.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css">
<script src="//cdn.jsdelivr.net/npm/mermaid@9.1.3/dist/mermaid.min.js"></script>
<!-- <script src="http://localhost:9000/mermaid.js"></script> -->
<script>
Expand Down

0 comments on commit 6f7670e

Please sign in to comment.