Fix documentation typo
This commit is contained in:
@ -5,12 +5,21 @@
|
|||||||
To make a bullet point, simply make a paragraph into a bullet point:
|
To make a bullet point, simply make a paragraph into a bullet point:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const text = new TextRun("Bullet points");
|
doc.addSection({
|
||||||
const paragraph = new Paragraph({
|
children: [
|
||||||
text: "Bullet points",
|
new Paragraph({
|
||||||
bullet: {
|
text: "Bullet points",
|
||||||
level: 0, //How deep you want the bullet to be
|
bullet: {
|
||||||
},
|
level: 0 //How deep you want the bullet to be
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
new Paragraph({
|
||||||
|
text: "Are awesome",
|
||||||
|
bullet: {
|
||||||
|
level: 0
|
||||||
|
}
|
||||||
|
})
|
||||||
|
],
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user