Skip to content

Instantly share code, notes, and snippets.

@raisabelatrix
Last active December 9, 2022 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raisabelatrix/aafb1f4259b9add7ab72b61c19d92e6c to your computer and use it in GitHub Desktop.
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+]
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