So there are couple of issues with the code block worth bringing up in here.
First of all our current theme has a gray rounded box for the code block, which is actually not too dissimilar to the engine website:
https://godotengine.org/article/optional-typing-gdscript
But I feel that might fit better for the inline code bits like this
, which currently is more pink/reddish rather than gray.
But more importantly the current code block only displays line numbers for every fifth line and it causes the empty lines to get cut off, which I think is a real issue. This could be considered an actual theme bug, but also should be pretty easy to fix I think. I've opened a separate issue for it(#28).
And then finally, last but not least I'm thinking it would be nice to look into adding a GDScript specific coloring to the code block and maybe try to emulate the color scheme of the godot editors code editor itself in our theme..?
Would need to investigate if this is best done in our theme or the codeblock addon(syntax prettifier), may even be best to maybe integrate the addon straight into our theme addon?
I do have my doubts about this last bit, but since we have multiple color themes to chose from within the theme addon, maybe a good way to go? Again, might have to investigate a bit to properly figure out the best way to go...
Then again, if we took the direction to modify the dark theme to follow godot editors color scheme, maybe the code block could have the same color theme for both lightly and darkly, hmm...
Anyways, thoughts?