[Mediawiki-l] Problems with numerical lists

Amy Chan chanamy1 at sbcglobal.net
Fri Sep 10 07:11:58 UTC 2004


Jean, 

The following works for me:

#a<br/><pre>text</pre>
#b<br/><pre>text</pre>

The key to preserving the numbering is not to have any blank lines.
Therefore, I use the HTML tags to get the effect I want, like the line break
<br> and <pre> for formatted text.

Anyone else have tips that are less of a hack?

--Amy

>Jean-Christian Imbeault wrote:
>Subject: [Mediawiki-l] Problems with numerical lists
>
>The following wiki text:
>
>#a
> text
>#b
> text
>
>
>Gives
>
>   1. a
>
> text
>
>   1. b
>
> text
>
>
>I would like my list numbering to keep going (1, 2 ...). I realize the
>problem is because of the new line. However I want the entries under
>each list item to have an example in a nice box (hence the leading
>space). However I cannot find a way to achieve this that keeps the list
>number from restarting at 1 every time.

>Is there an easy way to achieve this?





More information about the MediaWiki-l mailing list