mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
parent
f9b29a5a61
commit
aa3c39f9da
@ -49,3 +49,6 @@ ul {
|
|||||||
/* 列表项样式 */
|
/* 列表项样式 */
|
||||||
li {
|
li {
|
||||||
}
|
}
|
||||||
|
/* 代码块样式 */
|
||||||
|
code {
|
||||||
|
}
|
||||||
|
@ -57,6 +57,7 @@ export function customCssWithTemplate(jsonString, color, theme) {
|
|||||||
customTheme.block.h2 = Object.assign(customTheme.block.h2, jsonString.h2);
|
customTheme.block.h2 = Object.assign(customTheme.block.h2, jsonString.h2);
|
||||||
customTheme.block.h3 = Object.assign(customTheme.block.h3, jsonString.h3);
|
customTheme.block.h3 = Object.assign(customTheme.block.h3, jsonString.h3);
|
||||||
customTheme.block.h4 = Object.assign(customTheme.block.h4, jsonString.h4);
|
customTheme.block.h4 = Object.assign(customTheme.block.h4, jsonString.h4);
|
||||||
|
customTheme.block.code = Object.assign(customTheme.block.code, jsonString.code);
|
||||||
customTheme.block.p = Object.assign(customTheme.block.p, jsonString.p);
|
customTheme.block.p = Object.assign(customTheme.block.p, jsonString.p);
|
||||||
customTheme.block.hr = Object.assign(customTheme.block.hr, jsonString.hr);
|
customTheme.block.hr = Object.assign(customTheme.block.hr, jsonString.hr);
|
||||||
customTheme.block.blockquote = Object.assign(
|
customTheme.block.blockquote = Object.assign(
|
||||||
|
Loading…
Reference in New Issue
Block a user