use codeblock render hook instead of refactor

This commit is contained in:
geekifan
2025-04-29 10:41:08 +08:00
parent e91c746d6c
commit 8bdf964087
3 changed files with 7 additions and 29 deletions

View File

@ -9,7 +9,7 @@ code:not([class]):not([id]) {
margin-bottom: 1.2em; /* Override BS Inline-code style */
}
.highlight {
.code-block {
@extend %rounded;
@extend %code-snippet-bg;
@ -116,7 +116,7 @@ td.rouge-code {
}
}
div[class^='highlight'] {
.code-block {
@extend %rounded;
@extend %code-snippet-bg;