Files
docx-js/docs/usage/bullet-points.md

21 lines
352 B
Markdown
Raw Normal View History

2018-08-04 03:28:27 +01:00
# Bullet Points
## Example
To make a bullet point, simply make a paragraph into a bullet point:
```ts
2019-08-22 00:28:42 +01:00
const text = new TextRun("Bullet points");
const paragraph = new Paragraph({
text: "Bullet points",
bullet: {
level: 0, //How deep you want the bullet to be
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