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

1 Like

Thank you so much! Works perfectly!

1 Like

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