Typst Fumadocs

Title

Documentation for the `title` function.

A document title.

This should be used to display the main title of the whole document and should occur only once per document. In contrast, level 1 headings are intended to be used for the top-level sections of the document.

Note that additional frontmatter (like an author list) that should appear together with the title does not belong in its body.

In HTML export, this shows as a h1 element while level 1 headings show as h2 elements.

Example

Loading compiler...
#title(
  body
) -> content

Parameters

Prop

Type

On this page