mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
353 B
353 B
Bullet Points
Example
To make a bullet point, simply make a paragraph into a bullet point:
const text = new TextRun("Bullet points");
const paragraph = new Paragraph({
text: "Bullet points",
bullet: {
level: 0, // How deep you want the bullet to me
},
});
This will produce:
- Bullet points
- Are awesome