Pre-formatted text

Text is displayed in a pre block. Spaces and line breaks are preserved.

Textile example: Pre-formatted text

pre. Pre-formatted       text

Textile input (editable)

Browser output

HTML output


More about: Pre-formatted text

1. For blocks with empty lines, pre.. is used:

pre.. 
The first pre-formatted line.
 
                And another line.

Continue normal text by starting a new line with p. or another block signature.

Further reading: Pre-formatted text

  1. MDN: The HTML <pre> element

See something wrong in this page? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.