Skip to content
Discussion options

You must be logged in to vote

This is tricky. the font-awesome icons are being generated correctly by Quarto, but somewhere the font awesome fonts need to be actually set on your HTML.

We do have fontawesome support in quarto documents through an extension. You need to use the shortcode in the document to enable the extension, so you could try:

```{mermaid}
flowchart TD
    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?)
```

::: hidden
  {{< fa thumbs-up >}} 
:::

Unfortunately, this produces the following:

As you can see the rectangle sizing calculations from mermaid are not correct. I believe this is happening because we're loading the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants