Skip to main content

Headings

Standard Markdown headings from h1 to h6:
Headings support inline formatting:

Heading anchors

Add an anchor ID to any heading with {#id} at the end. This allows cross-referencing from elsewhere in the document:
Anchor IDs must start with a letter and can contain letters, numbers, underscores, and hyphens.
See References & Anchors for how to link to anchored headings.

Extended HTML syntax

For full styling control, use HTML heading tags with attributes:
Available attributes:

Paragraphs

Standard Markdown paragraphs — just write text:
Consecutive lines without a blank line between them are merged into a single paragraph.

Text2 style (secondary paragraph)

Use the pipe prefix | to apply the text2 style — a secondary paragraph style defined in your document defaults (e.g., smaller font, different color):
The text2 style uses the styling defined in your document’s defaults.styles.text2 configuration. This is useful for subtitles, captions, or secondary information.
Lines starting with | that also end with | are parsed as table rows, not text2 paragraphs.

Extended HTML syntax

For full styling control, use HTML paragraph tags:
Multi-line HTML paragraphs are also supported:
Available attributes:
HTML syntax is optional. Use it only when you need styling that goes beyond what your document defaults provide. For most documents, standard Markdown headings and paragraphs are sufficient.