[Mediawiki-l] Re: Problems with numerical lists

Ashar Voultoiz thoane at altern.org
Fri Sep 10 10:13:22 UTC 2004


Jean-Christian Imbeault wrote:
> 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?
> 
> Thanks,
> 
> Jc

Hello,

The problem is that in wiki syntax the list item is stopped by a new 
line. You probably want to switch to pure html:

<ol>

<li>
a<br />
text
</li>

<li>
b<br />
text
</li>

</ol>

Not sure if ol and li tags are allowed though :(

-- 
Ashar Voultoiz




More information about the MediaWiki-l mailing list