Using multi-line formatted text in wiki syntax

formattingmediawiki

Using multi-line formatted text (using the <pre> tags) inside of a list in Mediawiki is giving me problems.

What I would love to do is something like this:

# Text in a numbered entry
#:<pre>Formated
Text
Goes
Here</pre>
# Next numbered entry

However, this will only place the first line of text in the list, and will not format the rest of the text.

If I leave the #: out, then the list will restart (at 1) for the next entry:

# Number 1 in list
<pre>Formated
Text
Goes
Here</pre>
# Also 1 in list

This question is discussed on Wiki's meta, but I have been unable to find an acceptable solution to my problem.

Does anyone have a work around or something for my problem?

Best Answer

You can use standard HTML syntax (which is totally valid wiki-syntax):

<ol>
<li> Text in a numbered entry</li>
<li><pre>Formated
Text
Goes
Here</pre></li>
<li> Next numbered entry</li>
</ul>