CSS Snipet: How do I give color to Callouts in source mode?

How do I give color to >[!note]- or anything inside >[!Title here]+ and of course to nested callouts as well?

img

So if I understand you correctly you just want to change the color of the greyed out callout formatting text in source mode?

You could use this for that:

.HyperMD-callout.HyperMD-quote > .cm-formatting.cm-formatting-quote {
	color: red;
}

And as an add-on this can change the color of the Callout title in source mode:

.HyperMD-callout.HyperMD-quote {
	color: orange;
}

Thank you, that did it.

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