re: How to add code highlighting to your Dev.to posts. VIEW POST

FULL DISCUSSION
 

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?

 

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.

code of conduct - report abuse