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

FontAwesome doesn't show up on mermaid diagrams in mode: default #89

Open
krukowskid opened this issue May 14, 2023 · 0 comments
Open

Comments

@krukowskid
Copy link

krukowskid commented May 14, 2023

Hello!
I have included a few fontawesome icons on my mermaid diagrams, but they won't show up on my diagrams.

Example:

Generated code:

<img class="mermaid" src="https://mermaid.ink/svg/eyJjb2RlIjoiZmxvd2NoYXJ0IFREO1xuc3ViZ3JhcGggQ29tcGFueSBBO1xuVUEoKFVzZXIgQTxicj5mYTpmYS11c2VyKSkgLS0-IEExW1dpbmRvd3MgYXBwbGljYXRpb25dO1xuQTEgLS0-IEQxWyhVc2VyIEEgZGF0YWJhc2UpXTtcbmVuZDtcbnN1YmdyYXBoIENvbXBhbnkgQjtcblVCKChVc2VyIEI8YnI-ZmE6ZmEtdXNlcikpIC0tPiBBMltXaW5kb3dzIGFwcGxpY2F0aW9uXTtcbkEyIC0tPiBEMlsoVXNlciBCIGRhdGFiYXNlKV07XG5lbmQ7XG5zdWJncmFwaCBDb21wYW55IEM7XG5VQygoVXNlciBDPGJyPmZhOmZhLXVzZXIpKSAtLT4gQTNbV2luZG93cyBhcHBsaWNhdGlvbl07XG5BMyAtLT4gRDNbKFVzZXIgQyBkYXRhYmFzZSldO1xuZW5kOyIsIm1lcm1haWQiOnsidGhlbWUiOiJkYXJrIn19">

Result:
image

Is there is any restriction because of loading svg it from a remote page? if there is any workaround to make it work with mode: default and svg files instead of switching to png?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant