Replies: 1 comment
-
The background-color is specified via the custom property :root {
/* ... */
--hljs-bg: rgb(28, 29, 33);
/* ... */
}
.dark {
/* ... */
--hljs-bg: rgb(46, 46, 51);
/* ... */
} You can overwrite these values by adding the following in :root {
/* ... */
--hljs-bg: #ff0000;
/* ... */
}
.dark {
/* ... */
--hljs-bg: #00ff00;
/* ... */
} Of course adapt the shown color-values to something you find fitting. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following this, I am trying to change the "style" in config.yml of the syntax highlighting by changing the style (e.g. abap, colorful like here from the default (monokai)), but only the color of font changes and the background color in code block does not change (the color is always black like monokai).
Do I miss something? Could anyone kindly tell me what is wrong?
I am using the following setting.
Beta Was this translation helpful? Give feedback.
All reactions