TypstDocumentation

pagebreakShowable
Question mark

A page break.

A manually forced page break. It must not be used inside any containers.

Example

The next page contains
more details on compound theory.
#pagebreak()

// Examples only render the first
// page, so this is not visible.
== Compound Theory
Preview

Parameters
Question mark

pagebreak()

weak

If true, the page break is skipped if the current page is already empty.