Skip to content

(Some) Icons in note titles are not rendered. #118

@pedramamini

Description

@pedramamini

Leveraging a plugin like iconify allow for addition of SVG icons which then fail to render in shared notes, example:

Retrieving frontmatter from a hierarchy of files and rendering information dynamically: <span class="iconize-icon-in-link" title="RaSpearHead" aria-label="RaSpearHead" data-icon="RaSpearHead" aria-hidden="true" style="color: rgb(255, 0, 0); transform: translateY(20%);"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 612 612" enable-background="new 0 0 612 612" xml:space="preserve" fill="currentColor"><path d="M466.796,284.883c-45.369,32.554-89.506,35.115-137.114,15.78c0.046-0.82,0.075-1.644,0.075-2.475 c0-23.903-19.379-43.281-43.281-43.281c-4.194,0-8.243,0.608-12.078,1.721L40.901,23.721l-14.826,0.134l-0.009-0.001l0.067,35.862 l221.006,220.425c-2.525,5.495-3.944,11.604-3.944,18.047c0,23.902,19.378,43.281,43.281,43.281c2.348,0,4.65-0.193,6.896-0.553 c16.088,47.031,12.197,91.335-15.06,132.45c76.586,52.09,195.432,100.151,294.609,106.127 C577.242,477.597,522.323,363.111,466.796,284.883z"></path></svg></span>Ritualism

Perhaps best to add a plugin option with a list of classes that are allowed to pass through as direct HTML to support this (via "iconize-icon-in-link") and future needs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    display issueMy note doesn't display correctly

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions