DEV Community

Discussion on: How to add code highlighting to your posts.

elanandkumar profile image
Anand Kumar

Hi @hendrik ,
Is there a way that I can change the background colour of the code block from black to white? Like theming or something?

hoverbaum profile image

I don't think there is. The code highlight is basically a markdown feature and how it looks is defined by globally. But providing a theme to use for code blocks could be a cool feature for the Frontmatter, I agree.