fix(core): heading style

This commit is contained in:
syy11cn 2022-06-03 13:58:22 +08:00
parent d7fa058379
commit 4c31ee8479
1 changed files with 11 additions and 2 deletions

View File

@ -164,6 +164,7 @@ export const defaultConfig: IMarkdownReportConfig = {
before: ptToTwip(13),
after: ptToTwip(13),
},
alignment: AlignmentType.LEFT,
},
},
// Heading 3.
@ -177,9 +178,14 @@ export const defaultConfig: IMarkdownReportConfig = {
ascii: 'Times New Roman',
eastAsia: 'SimSun',
},
bold: false,
},
paragraph: {
spacing: {},
spacing: {
before: ptToTwip(10),
after: ptToTwip(10),
},
alignment: AlignmentType.LEFT,
},
},
// Heading 4.
@ -191,7 +197,10 @@ export const defaultConfig: IMarkdownReportConfig = {
size: ptToHalfPt(12),
},
paragraph: {
spacing: {},
spacing: {
before: ptToTwip(8),
after: ptToTwip(8),
},
},
},
],