How to change black background on code blocks?
-
In NodeBB (Persona), code blocks look like this
Code here
Does anyone know how I can make them look like GitHub code blocks (grey background for example)?
I've tried styling the
<code>
and<pre>
tags using CSS but this doesn't work.UPDATE If you refresh this page and look at the code block, you'll see that very briefly it shows with a grey background (this is how I'd like it to be). But then after a second the black background style kicks in.
Copyright © 2024 NodeBB | Contributors