-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font aswesome not rendered upon deployment #1457
Comments
/assign @divyabhushan |
Same issue here. we just updated to the latest release and the font awesome icons are no longer loading. |
True. Static site generators such as Jekyll and Hugo have good plugins that resolve these font awesome rendering problems. |
Hi, |
@sudhakar-sekar, sorry didn't get your query. Did you mean how to display these icons in your code using an embed mermaid class? Like the one shown above? |
@divyabhushan No, what I mean is I am able to use free font-awesome icons in mermaid. Can I use PRO font-awesome icons instead of free icons? |
Is this still an issue? It works fine in the live editor so the issue is not with mermaid. I think there is an issue with the documentation site. |
It works fine in the live editor. But when i use typora, it doesnt work. |
I believe that Mermaid may require an update to support Font Awesome version 5. Please note that the "fa" prefix on its own has been deprecated: The above is taken from the Font Awesome documentation. Also, below is what the Mermaid documentation currently displays in Safari 14.1.2 on macOS Big Sur 11.5.2. All icons are missing in the documentation. and this is what the Mermaid Live Editor (supporting version 8.12.1) renders when copy-pasting the sample code from the documentation. For some reason, the twitter icon is missing! However, the results in the Live Editor are not consistent: clicking on the button in the left pane to download a PNG file will show all icons missing, as in the Mermaid documentation, but clicking on the button to open a PNG in a new tab will show all the icons (with spacing issues for the text). |
This is now working as expected in mermaidJS. If there is still an issue in the Live Editor please open a new issue in that repo |
Describe the bug
Font awesome icons are not rendered on the deployed site - Basic support for fontawesome
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Incorrect output:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: