Changing of color of text in code blocks in obsidian

What I’m trying to do

I wanna change the color of text in a code block such as this:

java.lang.ArrayIndexOutOfBoundsException: 5

Its an error output so I want it to be in red color.

Things I have tried

I have tried changing the color using some plugins but there’s no way I can do it.

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