Color specific word in the editor

Hello
I just discovered Obsidian and I’ve installed the theme: Dracula for Obsidian.

I already used it on Notepad++ and there is an option that I like is that the --- is colored but not on obsidian.

I’ve tried to find the correct option in the theme but found nothing.

On Notepad ++ there is this line in the .xml used for “user language” to do that
I can change the KeywordLists to add some words that will be colored.
But in Obsidian, the theme is not coded like that and I don’t know how to do.

<KeywordLists>
<Keywords name="Keywords2">==== ---- ---</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="KEYWORDS2" fgColor="50FA7B" bgColor="282A36" fontName="" fontStyle="1" nesting="0" />
</Styles>

the MD code --- is already used to create a line separator in markdown but I want to have it colorised in the editor.
Is someone can help on that ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.