Skip to content

How to allow font awesome icons in mermaid diagrams? #5140

Answered by squidfunk
LandonTClipp asked this question in Q&A
Discussion options

You must be logged in to vote

You would need to integrate FontAwesome yourself, since Material for MkDocs doen't use icon fonts since version 5 – only SVGs – as this allows for custom icons and deeper integration in general.

It should be possible to use the v4 or v5 FontAwesome icon font along side our bundled v6 icons, since those are two entirely different methods of embedding. Thus, I think adding the FontAwesome CSS via additional CSS should be sufficient.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@LandonTClipp
Comment options

Answer selected by LandonTClipp
Comment options

You must be logged in to vote
2 replies
@VincenzoGalante
Comment options

@kamilkrzyskow
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants