docs: update docs with new info

This commit is contained in:
jakobskrym 2024-03-30 12:21:01 +01:00
parent 0aa526d707
commit 90b1111382
2 changed files with 20 additions and 0 deletions

View File

@ -1178,6 +1178,16 @@ Adding this snippet in the `<head>` would add support for Font Awesome v6.5.1
/>
```
It is possible to use custom icons served from Font Awesome as long as the website imports the corresponding kit. Note that this is currently a paid feature from Font Awesome.
For custom icons, you need to use the `fak` prefix.
```
flowchart TD
B["fa:fa-twitter for peace"]
B-->E(fak:fa-custom-icon-name) %% this will try to find your kit's custom icon
```
## 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.

View File

@ -799,6 +799,16 @@ Adding this snippet in the `<head>` would add support for Font Awesome v6.5.1
/>
```
It is possible to use custom icons served from Font Awesome as long as the website imports the corresponding kit. Note that this is currently a paid feature from Font Awesome.
For custom icons, you need to use the `fak` prefix.
```
flowchart TD
B["fa:fa-twitter for peace"]
B-->E(fak:fa-custom-icon-name) %% this will try to find your kit's custom icon
```
## 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.