Skip to content

Standard Library

Press includes pre-defined components that provide familiar HTML-like tags. These are regular components, not special syntax -- you can override them in your own <components> block.

Block Components

ComponentEquivalentDescription
<frame>PrimitiveLayout container. Default direction="column". Cannot be overridden
<p><frame>Paragraph block.
<h1><frame> + outlineLevel 1 heading. Auto-added to "headings" outline.
<h2><frame> + outlineLevel 2 heading.
<h3><frame> + outlineLevel 3 heading.
<h4><frame> + outlineLevel 4 heading.
<h5><frame> + outlineLevel 5 heading.
<h6><frame> + outlineLevel 6 heading.
<pre><frame preserve-whitespace="true">Preformatted text block.
<hr>Styled <frame>Horizontal rule.
<blockquote>Styled <frame>Block quotation.

Inline Components

ComponentEquivalentDescription
<b> / <strong><span font-style="bold">Bold text.
<i> / <em><span font-style="italic">Italic text.
<u><span text-decoration="underline">Underlined text.
<s><span text-decoration="strikethrough">Strikethrough text.
<code><span> with monospace fontCode/monospace text.

Table Components

ComponentEquivalentDescription
<tr>Table row primitiveTable row.
<td>Table cell primitiveTable data cell.
<th>Table cell (bold, centred)Table header cell.

List Components

ComponentDescription
<ul>Unordered list (bullet markers).
<ol>Ordered list (numbered markers).
<li>List item.