Text surrounded by colons is highlighted even though no emoji support

Steps to reproduce

In the editor pane, type a word surrounded by colons, like :this:

Expected result

It looks like normal text

Actual result

The color of the text changes. This appears to be because it gets styled with the .cm-formatting-emoji style, as if it’s GFM-style emoji, which to my knowledge Obsidian doesn’t actually support


  • Operating system: Windows 10
  • Obsidian version: v0.7.6

Additional information


I came across this too and took a screenshot:

A solution for this is pretty straightforward. Custom CSS!

@Silver it may be worth adding this to the default CSS?

.cm-formatting-emoji {
    color: var(--text-normal) !important;

Added, thanks! Will remove if we do support emoji someday (probably not happening though).

1 Like