mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
feat: support code_pre style setting (#403)
This commit is contained in:
parent
9922f5d3ea
commit
442beb8053
@ -57,3 +57,6 @@ li {
|
|||||||
/* 代码块样式 */
|
/* 代码块样式 */
|
||||||
code {
|
code {
|
||||||
}
|
}
|
||||||
|
/* 代码块外层样式 */
|
||||||
|
code_pre {
|
||||||
|
}
|
||||||
|
@ -43,6 +43,7 @@ export function customCssWithTemplate(jsonString, color, theme) {
|
|||||||
`h3`,
|
`h3`,
|
||||||
`h4`,
|
`h4`,
|
||||||
`code`,
|
`code`,
|
||||||
|
`code_pre`,
|
||||||
`p`,
|
`p`,
|
||||||
`hr`,
|
`hr`,
|
||||||
`blockquote`,
|
`blockquote`,
|
||||||
|
Loading…
Reference in New Issue
Block a user