Thanks @julian! The code is a bit daunting and I don't want to risk breaking anything at the moment. Is there any other way for me to change the og:image meta property? I tried adjusting my logo size but, that just made my logo smaller because of NodeBB's resizing in the header.
How to change black background on code blocks?
Henry Wright last edited by henrywright
In NodeBB (Persona), code blocks look like this
Does anyone know how I can make them look like GitHub code blocks (grey background for example)?
I've tried styling the
<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.
admin>plugins>markdown has plently of different code formatting styles, you can give those a shot.
Henry Wright last edited by
@baris Cool, didn't know that settings section existed!