colineckert / obsidian-things

An Obsidian theme inspired by the beautifully-designed app, Things.
MIT License
721 stars 62 forks source link

Escaped symbols (\[, \$, etc.) should be rendered as regular text #114

Open lebigot opened 1 year ago

lebigot commented 1 year ago

Escaped symbols (\[, \$, etc.) are meant to be regular text.

The problem is that they currently appear in the same muted color as special characters ([, $, *, etc.).

They should be rendered in the same color as regular text, so as to be more legible (especially in dark mode).

Thanks!

lebigot commented 1 year ago

OK, here is the solution to this issue:

.cm-s-obsidian span.cm-hmd-escape-char {
  color: var(--text-normal);
}

I still think that it would make sense to have this in the Things theme (or in any theme, for that matter).