DOCUMENTATION

Headings

Last updated May 2026
Basic Block
All plans

Six heading levels — H1 through H6 — each rendered as a native semantic HTML element via a custom Tiptap SemanticBlock extension. Headings are automatically picked up by the Table of Contents block and the right-side TOC in documentation pages.

Markdown shortcuts

Type thisConverts to
#Heading 1
##Heading 2
###Heading 3

Heading levels

LevelSlash commandDefault style
H1/heading1 or /h12.25rem · bold · tight tracking
H2/heading2 or /h21.875rem · bold · tight tracking
H3/heading3 or /h31.5rem · semibold
H4/heading4 or /h41.25rem · semibold
H5/heading5 or /h51.125rem · semibold
H6/heading6 or /h61rem · semibold · muted color

Semantic HTML

Each heading level renders as its corresponding HTML element (<h1>through <h6>) on both the editor canvas and the published page. This is important for accessibility and SEO — screen readers and search engines read the heading hierarchy correctly.

All heading blocks support the same inline formatting as paragraphs — bold, italic, links, text color, and highlight. The formatting toolbar appears on text selection.

Converting between levels

Type / inside any heading to open the slash command palette and switch to a different level. You can also use the block type menu (right-click the drag handle) to convert between all block types without losing content.

Table of Contents integration

H1, H2, and H3 blocks are extracted by the TOC block and the documentation right-side TOC. The TOC assigns each heading a stable id slug derived from its text content (lowercased, spaces replaced with hyphens). Duplicate headings get a numeric suffix (-2, -3, etc.).

Toggle headings

H1, H2, and H3 have collapsible variants — Toggle Heading 1, Toggle Heading 2, Toggle Heading 3. These behave identically to regular headings but add a chevron that shows or hides child blocks. See the Toggle page.

Text color
Set via the block-level color picker (toolbar on selection). Applies to the entire heading.
Inline styles
Individual words can be colored or highlighted independently using inline marks.