Paragraphs
Plain text blocks separated by blank lines are rendered as paragraphs.
Syntax
markdown
This is the first paragraph. It can span multiple
lines in the source and will be reflowed to fit
the page width.
This is the second paragraph.How It Renders
- Uses
page.defaultFontSizeandfont.regular - Text is word-wrapped to fit within
page.maxContentWidth - Paragraphs can contain inline elements: bold, italic,
code, and links - Vertical spacing between paragraphs is controlled by
page.lineSpace
Relevant Options
| Option | Effect |
|---|---|
page.defaultFontSize | Font size for paragraph text |
page.maxContentWidth | Maximum width before text wraps |
page.lineSpace | Spacing between paragraphs |
page.defaultLineHeightFactor | Line height within a paragraph |
font.regular | Font used for regular text |
content.textAlignment | Text alignment (left, right, center, justify) |
Try It
Interactive
Try this in the Playground — paste the markdown above and click Generate PDF.