Mermaid Pack support for Font Awesome icons

Hi, @Leandro_Zubrezki - Your Mermais Pack is amazing - thanks for the hard work.

I am looking at getting Font Awesome icons support as described here.

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

Screenshot 2023-04-27 at 10.49.49

When replicating the Mermaid script, the Syntax function appears to validate it but diagram renders without the FA Glyphs.

Any idea how to make it work - or at a broader scale, render any image ?

Thanks !

1 Like

Thanks @Laurent_Ades !

The Pack generates an SVG image from Mermaid and that gets embed in Coda, the problem is that Font Awesome icons are not included in that image and there is no way to add them at the moment.

There is a ticket opened in Mermaid to solve it and I am tracking it, as soon as a new version that fixes the issue gets pushed I will also update the Pack.

You can use emojis in the meantime :wink:


@Leandro_Zubrezki You already have it all figured out so, we just need to be patient… Thanks!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.