Last active
October 4, 2024 16:25
-
-
Save raisabelatrix/aafb1f4259b9add7ab72b61c19d92e6c to your computer and use it in GitHub Desktop.
Replace Obsidian hashtag in tags to a custom emoji. [Not tested on Obsidian 1.0+]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.tag, | |
.kanban-plugin .kanban-plugin__item-tags .kanban-plugin__item-tag { | |
position: relative; | |
display: inline-block; | |
margin: .125em; | |
} | |
a.tag::before, | |
.cm-formatting-hashtag::before { | |
font-size: .85em; | |
content: "🌺"; | |
display: inline-block; | |
position: relative; | |
z-index: .5; | |
right: -.7em; | |
padding: 0 2px 0 0; | |
background-color: var(--background-primary); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment