Typst Fumadocs

Line Break

Documentation for the `linebreak` function.

Inserts a line break.

Advances the paragraph to the next line. A single trailing line break at the end of a paragraph is ignored, but more than one creates additional empty lines.

Example

Loading compiler...

Syntax

This function also has dedicated syntax: To insert a line break, simply write a backslash followed by whitespace. This always creates an unjustified break.

#linebreak(
  justify: bool
) -> content

Parameters

Prop

Type

On this page