Info
This site is generated using the static site generator developed by the Typst Community. Please adjust the text content of this banner according to your usage requirements. At Typst GmbH's request, when publishing documentation, you must clearly indicate that it is non-official and display the version of Typst being documented. For details, refer to Issue #874 on typst/typst.
TypstDocumentEnglish
v0.dev.2025-09-12

parbreak
Element
Element
Element functions can be customized with set and show rules.

A paragraph break.

This starts a new paragraph. Especially useful when used within code like for loops. Multiple consecutive paragraph breaks collapse into a single one.

Example

#for i in range(3) {
  [Blind text #i: ]
  lorem(5)
  parbreak()
}
Preview

Syntax

Instead of calling this function, you can insert a blank line into your markup to create a paragraph break.

Parameter
Parameter
Parameters are input values for functions. Specify them in parentheses after the function name.

parbreak(
)->
Open official docs

Search