2018-08-04 03:28:27 +01:00
|
|
|
# Bullet Points
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
To make a bullet point, simply make a paragraph into a bullet point:
|
|
|
|
|
2019-08-06 17:51:13 +01:00
|
|
|
```ts
|
2021-02-24 13:30:40 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
})
|
|
|
|
],
|
2019-08-22 00:28:42 +01:00
|
|
|
});
|
2018-08-04 03:28:27 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
### This will produce:
|
|
|
|
|
2019-08-22 00:28:42 +01:00
|
|
|
- Bullet points
|
|
|
|
- Are awesome
|