Skip to main content
Text elements are the primary content building blocks. They include headings (h1h6), paragraphs (text), and secondary text (text2).

Headings (h1–h6)

Six heading levels for document structure. Headings are used for table of contents generation, heading numbering, and internal references.

Paragraphs (text, text2)

Normal paragraphs use type: "text". Secondary/smaller text uses type: "text2" — useful for footnotes, captions, or fine print.

Properties

All text element types (h1h6, text, text2) share the same properties:
The defaults shown above ("Arial", 11, "left", etc.) are the built-in fallbacks. In practice, values are resolved with a three-level cascade: element property → element style (from defaults.styles.h1, defaults.styles.text, etc.) → global defaults (defaults.fontFamily, defaults.fontSize, defaults.color) → built-in fallback.

Inline formatting

The text property supports inline formatting using an extended Markdown-like syntax. This is not standard Markdown — some syntax elements are Autype-specific.

Text formatting

Inline code (`...`) preserves its content as-is — no further formatting is parsed inside backticks.

Abbreviations, citations, and variables

Citations support the following locator options after the cite key, separated by commas:Prefix - suppresses the author name, suffix ! shows only the author name (narrative citation).

Combining formatting

Formatting marks can be nested. Abbreviations and citations work inside formatted text:

Anchors and internal references

Headings can define an anchor ID that other elements can reference. Images, charts, and tables can also define anchors (see their respective pages).

Internal reference display modes

There are three ways to reference an anchor:
Anchor IDs must be unique across the entire document. Duplicate anchors always cause a validation error. Broken references (pointing to non-existent anchors) cause errors only in strict mode (?strict=true).

Defaults

Configure default styles for text elements via defaults.styles:
The pageBreakBefore property in a heading style forces a page break before every instance of that heading level — useful for starting each chapter on a new page.

Supported fonts

The following fonts are guaranteed to be available in the rendering engine. Use these font family names in fontFamily properties.
Using a font that is not installed in the render container will cause a silent fallback to the default font (Arial). Always use one of the listed fonts to ensure consistent output.

Sans-serif

Serif

Monospace

Display

MS Office compatibility: Calibri documents render correctly using Carlito (metrically identical). Cambria documents render correctly using Caladea (metrically identical). The render engine also has hundreds of Noto language-specific variants (e.g., Noto Sans CJK JP, Noto Sans Arabic, Noto Serif Bengali) installed for international document support.

Complete example