Native icon sets not rendering on GitHub
Author: AyanmullickCreated Aug 12, 2025Updated Sep 15, 2026
LabelsType: QuestionStatus: Discussion Needed
Description
Mermaid's native icon sets are not resolving on GitHub. This is a problem while trying to render architecture diagrams and display them as code on GitHub.
Steps to reproduce
I have the code and screenshot below. One can just put the code in any Markdown file on GitHub and reproduce the issue.
Screenshots
PFB expected output, as it works on Visual Studio Code.
PFB current output on GitHub
Code Sample
architecture-beta
group rg(azure:resource-groups)[Resource Group]
service storage(azure:storage-accounts)[Storage Account] in rg
Setup
- Mermaid version: Current version.
- Browser and Version: Chrome : Version 139.0.7258.67 (Official Build) (64-bit)
Suggested Solutions
No response
Additional Context
No response
Source: mermaid-js/mermaid