+1
Thomas Mortagne wrote:
Hi xwikiers,
Currently XWiki 2.0 only support the same way of mixing lists than XWiki 1.0:
---------------------
1. item 1
1*. item 2
1*. item 3
1. item 4
---------------------
This only support two syntaxes : the default ordered numbers and the
default point list. Plus It does not sounds very natural to me.
I propose to be able to really mix list syntaxes without any particular syntax:
------------------------------
1. item 1
** item 2
(% style="list-style-type: lower-alpha" %)
*** subitem 2.1
*** subitem 2.2
** item 3
1. item 4
---------------------------
Currently this generate 5 different lists:
<ol>
<li>item 1</li>
</ol>
<ul>
<li>
<ul>
<li>item 2</li>
<li>item 3</li>
</ul>
</li>
</ul>
<ul style="list-style-type: lower-alpha">
<li>
<ul>
<li>
<ul>
<li>subitem 2.1</li>
<li>subitem 2.2</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<ul>
<li>item 3</li>
</ul>
</li>
</ul>
<ol>
<li>item 4</li>
</ol>
Also another problem is also that this will generate a very different
XWiki syntax that the original one.
I propose to generate only one big list giving something like:
<ol>
<li> item 1
<ul>
<li> item 2
<ul style="list-style-type: lower-alpha">
<li>subitem 2.1</li>
<li>subitem 2.2</li>
</ul>
</li>
<li> item 3</li>
</ul>
</li>
<li> item 4</li>
</ol>
Here is my +1
Thanks,