How can I change the color of numbered lists in preview mode?

This is how numbered lists look in preview mode, by default:


This is what I’m trying to replicate:


I know it is possible, it has been done in a theme called “Obsidianite”. But I have zero experience with css and wanted to replicate it in “Yin Yang”. (another community theme, which is the one I’m using right now)

Could try this CSS snippet:

/* << color of numbers used in lists in PREVIEW MODE >> */

ol li::marker {
  color: #499dce;


Ty! Works like a charm :slight_smile:

Good to hear it works for your needs.


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