File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ export function setColorWithCustomTemplate(theme, color) {
34
34
export function setFontSizeWithTemplate ( template ) {
35
35
return function ( fontSize ) {
36
36
const customTheme = JSON . parse ( JSON . stringify ( template ) )
37
- customTheme . block . h1 [ `font-size` ] = `${ fontSize * 1.14 } px`
38
- customTheme . block . h2 [ `font-size` ] = `${ fontSize * 1.1 } px`
39
- customTheme . block . h3 [ `font-size` ] = `${ fontSize } px`
37
+ customTheme . block . h1 [ `font-size` ] = `${ fontSize * 1.2 } px`
38
+ customTheme . block . h2 [ `font-size` ] = `${ fontSize * 1.2 } px`
39
+ customTheme . block . h3 [ `font-size` ] = `${ fontSize * 1.1 } px`
40
40
customTheme . block . h4 [ `font-size` ] = `${ fontSize } px`
41
41
return customTheme
42
42
}
@@ -292,9 +292,7 @@ export function exportHTML() {
292
292
293
293
// 判断是否是包裹代码块的 code 元素
294
294
function isCode ( element ) {
295
- return (
296
- element . tagName === `CODE`
297
- )
295
+ return element . tagName === `CODE`
298
296
}
299
297
300
298
// 判断是否是包裹代码字符的 span 元素
You can’t perform that action at this time.
0 commit comments