question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Font Awesome icons not loading

See original GitHub issue

Hi, thanks for building this great plugin 😃

Is it still in active development?

I just started exploring the MkDocs & Mermaid space and was going through the Mermaid documentation. Here I read how to use font awesome icons.

So I build the following diagram:

graph TD
    A((Data sources))-->B[fa:fa-filter Data collector]
    B-->D[fa:fa-bars Data catalog]

    B-->C[fa:fa-cogs Geo-time engine]
    C-->E[fa:fa-database Data warehouse]
    E-->F[fa:fa-calculator Analytics engine]
    F-->F1[Search/Analytics jobs]
    F1-->G[fa:fa-plug API]
    G-->H[fa:fa-calendar Task manager]
    H-->B
    click E "https://www.cockroachlabs.com/product/" "CockroachDB"
    click F "https://spark.apache.org/" "Apache Spark"
    click G "https://fastapi.tiangolo.com/" "FastAPI"
    click H "https://www.prefect.io/" "Prefect.io"

I got it working in VSCode with this extension, so I know that I got the syntax right.

But it’s not loading the font awesome icons when I deploy it with MkDocs. There is a similar issue on the Mermaid GitHub. But it didn’t really have a solution. I was wondering if this might be added to this plugin, or if you would know a way to get it working (can be hacky) 😃

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
sguldemondcommented, Feb 7, 2021

Cleaner fix, adding to mkdocs.yml:

extra_css:
  - https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
1reaction
fralaucommented, Feb 7, 2021

Is it still in active development?

@sguldemond Yes absolutely. I haven’t had much request to improve it, thats all 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Font Awesome icons are not working, I have included all ...
Make sure they are in a folder called webfonts at the root of the project. Look in the browser console for any message...
Read more >
Troubleshooting | Font Awesome Docs
Are you using Font Awesome Free or Pro? - Some icons are only available in Font Awesome Pro. Double-check that the icon you...
Read more >
[Solved]: Font Awesome icons not showing on my website
If the Font Awesome CSS file is not properly loaded on a web page, then its icons won't be displayed. There are different...
Read more >
Font Awesome Icons Not Showing: Ultimate Reference Guide
Check your Adblockers. An ad blocker can potentially stop icons from loading. Alternatively, you can long click the refresh icon, or use keyboard...
Read more >
Why are my Font Awesome icons failing to show? - SiteFarm
When that happens, you may first discover that your icon isn't displaying at all or that the icon name in the Font Awesome...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found