Skip to content

How to make mermaid's icons appear #208

Closed Answered by imfing
ComputationTime asked this question in Q&A
Discussion options

You must be logged in to vote

I see. Currently, you need to include the Font Awesome CSS manually to enable this for Mermaid.

  1. Create a file /layouts/partials/custom/head-end.html under your site root directory
  2. Add the following to this file:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />

Result:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ComputationTime
Comment options

@imfing
Comment options

Answer selected by ComputationTime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants