hidden.

Second line, long text wrapping: all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.

Third line with raw | pipe is handled, but the space before the pipe is lost. Up to raw 19 pipes are handled, else use <nowiki>|</nowiki> and | it's | OK.

Fourth line, multiple spaces collapsed into one as in HTML and wikitext. Fifth line, stuck with the previous one if no blank line between them.

Last line, is actually standalone with or without a blank line. }}

Result
First line, markup working: and HTML comment hidden.

Second line, long text wrapping: all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.

Third line with raw| pipe is handled, but the space before the pipe is lost. Up to raw 19 pipes are handled, else use{{!}} and | it's | OK.

Fourth line, multiple spaces collapsed into one as in HTML and wikitext. Fifth line, stuck with the previous one if no blank line between them.

Last line, is actually standalone with or without a blank line.
  • {{Pre2}}, a template with similar functionality but induces optional line wrap and optional scroll bars.
  • <pre>, for information about the HTML <pre> tag.