优化 代码块主题
This commit is contained in:
parent
30f45b1b9c
commit
d9f44ef446
@ -7,6 +7,13 @@ export interface RendererOptions {
|
|||||||
fontSize?: string
|
fontSize?: string
|
||||||
lineHeight?: string
|
lineHeight?: string
|
||||||
textAlign?: string
|
textAlign?: string
|
||||||
|
fontFamily?: string
|
||||||
|
padding?: string
|
||||||
|
maxWidth?: string
|
||||||
|
margin?: string
|
||||||
|
wordBreak?: string
|
||||||
|
whiteSpace?: string
|
||||||
|
color?: string
|
||||||
}
|
}
|
||||||
block?: {
|
block?: {
|
||||||
h1?: StyleOptions
|
h1?: StyleOptions
|
||||||
@ -17,18 +24,27 @@ export interface RendererOptions {
|
|||||||
h6?: StyleOptions
|
h6?: StyleOptions
|
||||||
p?: StyleOptions
|
p?: StyleOptions
|
||||||
blockquote?: StyleOptions
|
blockquote?: StyleOptions
|
||||||
|
blockquote_p?: StyleOptions
|
||||||
code_pre?: StyleOptions
|
code_pre?: StyleOptions
|
||||||
code?: StyleOptions
|
code?: StyleOptions
|
||||||
image?: StyleOptions
|
image?: StyleOptions
|
||||||
ol?: StyleOptions
|
ol?: StyleOptions
|
||||||
ul?: StyleOptions
|
ul?: StyleOptions
|
||||||
|
footnotes?: StyleOptions
|
||||||
|
figure?: StyleOptions
|
||||||
}
|
}
|
||||||
inline?: {
|
inline?: {
|
||||||
strong?: StyleOptions
|
strong?: StyleOptions
|
||||||
em?: StyleOptions
|
em?: StyleOptions
|
||||||
codespan?: StyleOptions
|
codespan?: StyleOptions
|
||||||
link?: StyleOptions
|
link?: StyleOptions
|
||||||
|
wx_link?: StyleOptions
|
||||||
listitem?: StyleOptions
|
listitem?: StyleOptions
|
||||||
|
table?: StyleOptions
|
||||||
|
thead?: StyleOptions
|
||||||
|
td?: StyleOptions
|
||||||
|
figcaption?: StyleOptions
|
||||||
|
footnote?: StyleOptions
|
||||||
}
|
}
|
||||||
codeTheme?: CodeThemeId
|
codeTheme?: CodeThemeId
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user