<pre>

The <pre> is a Paragraph Markup component that renders a block of text that preserves the formatting of the text directly as input into the editor, including line spacing, font and indentation.

Attributes and Properties

The <pre> component has no attributes.

Props for <pre name="p">
PropertyType
$p.disabledboolean
$p.fixedboolean
$p.fixLocationboolean
$p.hiddenboolean

Example: Using <pre> to modify default spacing

The <pre> component is used to precisely space the lines of a Haiku as they are typed in the editor.