Sections are the top-level content containers of your document. Every document has a sections array containing one or more sections. Each section holds a content array of elements.
Flow section
The most common section type. Content flows across pages automatically.
Properties
Columns
Enable multi-column layout for a flow section.
Page section
A single positioned page — useful for cover pages, title pages, or any content that needs precise vertical positioning. Content does not flow to the next page.
Properties
Page sections are limited to a single page. If the content exceeds the page height, it will be clipped. Use flow sections for content that should span multiple pages.
Page break
Forces a page break at the current position. Optionally changes the page orientation for subsequent pages.
With orientation change:
Properties
Spacer
Adds vertical whitespace between elements.
The height can be specified as a number (line units) or a pixel string:
Properties
Complete example