The background color for a codeblock in markdown appears to be black
and the code is black as well, resulting in non-readable output.
In the css files of the theme I can spot the codeblock section which does not have
black as the background color. Other themes, output the background color normally.
this is the css of the theme. There are sections where one can specify the colors.
But the weird thing is that the color of black displayed is different than the black specified
in this css file. Even though in the codebackground section there is nothing like this specified.
Is it possible that something else overwrites this setting? Where could I locate if somewhere else
something overwrites it?
As I said: check the CSS in your browser dev tools. This code here is useless, s there might be other CSS involved. The only thing that matters is what your browser sees.
ah, thanks for the pointer. Since I am a newbie with regard to web development, is it possible to give me a pointer what to search for and where? Thanks!
Some of the text within the highlighted code block is not within elements with style attributes, so that text inherits from the style sheet (that’s what the universal selector does).
This indeed fixes the problem.
Thank you so much
I would like to choose the theme of my syntax highlighting.
I see that Hugo uses goldmark which uses goldmark-highlighting which uses chroma.
In order to change the highlighting theme, it is not clear to me where I can control this.
In this post you mention that there is no need to build goldmark-highlighting because hugo has this already.