Meta:Guidelines: Difference between revisions

Jump to navigation Jump to search
m E.vandenberge moved page Meta:Sample to Meta:Guidelines without leaving a redirect: Name change to fit purpose
Line 66: Line 66:
<tt>Fixed format text for short, single-line code.</tt>
<tt>Fixed format text for short, single-line code.</tt>


<pre style="height:15em; overflow:auto;">
<syntaxhighlight lang="-" line style="height:15em; overflow:auto;">
Long code, spans entire width of the page
Long code, spans entire width of the page


Line 85: Line 85:
They called me Mr Glass.
They called me Mr Glass.


</pre>
</syntaxhighlight>


You could also use the <nowiki><code> and nowiki </nowiki> tags, but they are displayed in different ways depending on the content, so use with care.
You could also use the <nowiki><code> and nowiki </nowiki> tags, but they are displayed in different ways depending on the content, so use with care.