Deploy dolanmiu/docx to github.com/dolanmiu/docx.git:gh-pages

This commit is contained in:
Deployment Bot (from Travis CI)
2021-02-24 14:11:52 +00:00
parent ba2447879b
commit 7ff1a58120
597 changed files with 3110 additions and 3101 deletions

View File

@ -5,12 +5,21 @@
To make a bullet point, simply make a paragraph into a bullet point:
```ts
const text = new TextRun("Bullet points");
const paragraph = new Paragraph({
text: "Bullet points",
bullet: {
level: 0, //How deep you want the bullet to be
},
doc.addSection({
children: [
new Paragraph({
text: "Bullet points",
bullet: {
level: 0 //How deep you want the bullet to be
}
}),
new Paragraph({
text: "Are awesome",
bullet: {
level: 0
}
})
],
});
```