Color Coded nested Callouts in Editor?

Is there any way I can make nested callouts in the editor change color according to which callout they belong to ?

Like this?:
callout display editor

Yup, here’s the CSS snippet to achieve this:

.cm-s-obsidian span.cm-quote-1 {
  color: teal;
}
.cm-s-obsidian span.cm-quote-2 {
  color: green;
}
.cm-s-obsidian span.cm-quote-3 {
  color: red;
}

Screenshot-16_11_2023-01.05.49

Thank you so much! Works perfectly!