This is not currently possible - if you want a multi-line <pre> block, then your best bet is to use actual <OL> and <LI> elements rather than '#' notation.
-- Jim R. Wilson (jimbojw)
On Nov 11, 2007 8:04 AM, Bram Kuijper a.l.w.kuijper@rug.nl wrote:
Hi all,
I have a question regarding creating lists in wikimedia. I wonder if it is possible to have multiline <pre></pre> elements inside your list, without messing up the content inside the <pre>-tag or the list's layout. I would be grateful for any pointers to more information on how to incorporate multiline <pre>-elements into wikimedia-lists
Any multiline <pre></pre> element will not be rendered very nicely, as is shown in this example:
# first item # second item #: <code><pre>one multiline comment</pre></code> # third item
will render as:
- first item
- second item one
multiline comment
- third item # list starts anew here.
Is there any way to contain the line-breaks in a <pre></pre> elements, without messing up the list's layout/numbering?
thanks, Bram
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l