DEV Community

loading...

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

Collapse
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?

Collapse
hoverbaum profile image
Hendrik Author

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