Mermaid with Icons #6778
Replies: 2 comments 9 replies
-
Hello @HelgeKrueger, .fa-user::before {
content: "\f007";
} which is the code for the "letter" representing that human icon. I don't know what is not working on your end. Perhaps you only need to enforce the usage of the font family in the diagram or perhaps something else is amiss.
|
Beta Was this translation helpful? Give feedback.
-
Attached is a minimal failing example: From looking at it from inspector, it seems as if the CSS is not being applied properly. The stylesheet is being loaded though. |
Beta Was this translation helpful? Give feedback.
-
Consider the simple mermaid diagram:
See also https://mermaid.live/edit#pako:eNpNj7EOwjAMRH8l8tz-QAYkKthggQ3SwSRuGymJqzQRQlX_nVCkgifr-e50nkGzIZDQOX7qAWMSp4sKosz-3qHssM4TRbF3VlMr6nonmn_e8KOFCjxFj9aUnPljVpAG8qRAltXZfkgKVFiKEHPi6ytokClmqiCPBhMdLPYRPZRYN230aGziuMERw435J6L1fP7WX79Y3k0NRRw
I want the icons to properly be included in mkdocs-material.
I followed Additional CSS to add the fontawesome.css that should contain the style definition, but the icons don't show up.
The relevant mkdocs.yml should be
Beta Was this translation helpful? Give feedback.
All reactions