Re-add highlight code outside of pre tags

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 20:18:05 -07:00
parent 79ccbcaa92
commit 64fdceb10c

View File

@ -319,6 +319,10 @@ pre {
overflow: auto; overflow: auto;
} }
:not(pre) > code {
background-color: rgb(230, 232, 245);
}
.code-filename-label, .filename-for-code-block > p { .code-filename-label, .filename-for-code-block > p {
font-weight: bold; font-weight: bold;
margin-bottom: 0; margin-bottom: 0;