typo icon indicating copy to clipboard operation
typo copied to clipboard

code block background is being overwritten

Open 4k1k0 opened this issue 2 months ago • 0 comments

My markup configuration:

# Syntax highlight on code blocks
[markup]
[markup.highlight]
anchorLineNos = false
codeFences = true
guessSyntax = false
hl_Lines = ''
hl_inline = false
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = false
noClasses = true
noHl = false
style = 'gruvbox'
tabWidth = 2

You can see that the background-color property from the code block is being overwritten by the one of the pre selector:

Image

One fix is to remove the !important property from the value.

Image

For what can I see maybe this could fix issue #17

Here are the screenshots of the monokai theme:

Without fix:

Image

With the fix:

Image

4k1k0 avatar Nov 01 '25 03:11 4k1k0