Skip to content

Native icon sets not rendering on GitHub #6848

@Ayanmullick

Description

@Ayanmullick

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.

Image

PFB current output on GitHub

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions