Skip to content
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

icon: "fa:user" shows a question mark #6147

Open
ciuliene opened this issue Dec 22, 2024 · 0 comments
Open

icon: "fa:user" shows a question mark #6147

ciuliene opened this issue Dec 22, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@ciuliene
Copy link

ciuliene commented Dec 22, 2024

Description

I'm trying to add an icon in a node. Docs says this:

flowchart TD
    A@{ icon: "fa:user", form: "square", label: "User Icon", pos: "t", h: 60 }

But I obtain a question mark. This happens also in official docs page, when I click the Run button.

Screenshot 2024-12-22 at 09 17 18

Is it possible that the set of icons from font-awesome ('fa' should be for those, right?) is not available? Are there any alternatives for adding icons in a diagram? Thank you

Steps to reproduce

Just try to render this:

flowchart TD
    A@{ icon: "fa:user", form: "square", label: "User Icon", pos: "t", h: 60 }

Screenshots

See above

Code Sample

flowchart TD
    A@{ icon: "fa:user", form: "square", label: "User Icon", pos: "t", h: 60 }

Setup

  • Mermaid version: 11.4.1 (from official docs)
  • Browser and Version: [Chrome, Safari, VSCode using this plugin]

Suggested Solutions

No response

Additional Context

No response

@ciuliene ciuliene added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant