Add strong default style

This commit is contained in:
Dolan Miu
2020-12-22 21:08:10 +00:00
parent a14a1fbd10
commit 0afe0929a3
4 changed files with 47 additions and 3 deletions

View File

@ -40,9 +40,9 @@ const doc = new Document({
},
listParagraph: {
run: {
color: '#FF0000'
}
}
color: "#FF0000",
},
},
},
paragraphStyles: [
{
@ -161,6 +161,18 @@ doc.addSection({
}),
],
}),
new Paragraph({
style: "Strong",
children: [
new TextRun({
text: "Strong Style",
}),
new TextRun({
text:
" - Very strong.",
}),
],
}),
],
});