<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.
Property | Type |
---|---|
$p.disabled | boolean |
$p.fixed | boolean |
$p.fixLocation | boolean |
$p.hidden | boolean |
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.