User:GarveyPatrickD/Combining the nowiki and pre tags
From Xen
< User:GarveyPatrickD
Revision as of 23:09, 18 November 2011 by GarveyPatrickD (talk | contribs) (Testing combinations of <pre> and <nowiki> tags)
Combining the <nowiki> and <pre> tags
Using only one tag
Placing all the tokens on one line in the source
<nowiki>lorem ipsum</nowiki>
lorem ipsum
<pre>lorem ipsum</pre>
lorem ipsum
Placing each token on a separate line in the source
<nowiki>lorem ipsum</nowiki>
lorem ipsum
<pre>lorem ipsum</pre>
lorem ipsum
Using both tags
Placing all the tokens on one line in the source
<nowiki> first, then <pre>
<pre>lorem ipsum</pre>
<pre> first, then <nowiki>
lorem ipsum
Placing each token on a separate line in the source
<nowiki> first, then <pre>
<pre> lorem ipsum </pre>
<pre> first, then <nowiki>
Please note the extra vertical spacing in the result.
lorem ipsum