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