feat: support code_pre style setting (#403)

This commit is contained in:
YangFong 2024-09-14 09:11:52 +08:00 committed by GitHub
parent 9922f5d3ea
commit 442beb8053
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -57,3 +57,6 @@ li {
/* 代码块样式 */ /* 代码块样式 */
code { code {
} }
/* 代码块外层样式 */
code_pre {
}

View File

@ -43,6 +43,7 @@ export function customCssWithTemplate(jsonString, color, theme) {
`h3`, `h3`,
`h4`, `h4`,
`code`, `code`,
`code_pre`,
`p`, `p`,
`hr`, `hr`,
`blockquote`, `blockquote`,