Template:Pre

From LDraw.org Wiki
Revision as of 08:57, 24 January 2015 by Owen Burgoyne (talk | contribs) (Minor code fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{1}}}

Usage

{{pre|text}}

This is an updated version of the <pre> tag, which dynamically alters text based on the width of the element.

Text is displayed as would be expected with the <pre> tag, but any lines that are too long to display are simply wrapped to the next line, rather than overflowing or disappearing.