Feature Proposal: Give possibility to continue list numbering
Motivation
Currently it is not possible to continue list numbering if we have empty lines (or pictures, pre/verbatim tags, etc.) between numbered list entries (AFAIK).
Sometimes I use nested numbered lists, some having a verbatim/pre block. Using
is not an option, because it would only use the indented space. But I want to use the whole screen width. Same problem applies to including images.
HTML supports 'continuing' list numbering, i.e. the user sets the number via 'value' attribute of the 'li' tag::
<li value="30"> makes this list item number 30.
see
http://www.w3.org/TR/html401/struct/lists.html
Description and Documentation
If a numbered list starts over, set the 1st element's 'value' attribute to the number specified by the author.
--> It's not automatic numbering, but allows to simulate such (give the renderer a hint).
Examples
- a
- numbered
- list
#> my shell command listing
- here (i write '4' in twiki notation, should become 4 then), continue my
- list numbering...
Impact
Could also have impact on the
HTML editor...
Implementation
--
Contributors: GerardRoos - 2009-09-25
Discussion
Control over initial number in the list would be a useful feature. It is important to remain compatible with existing spec. Some people number the bullets manually, some keep all numbers as 1 and let TWiki do the numbering. I guess it would be safe to start with the number a user specified as the first bullet. What do others think?
BTW, already now you can have continuation lines in a bullet. The trick is the indent all continuation lines by at least one space character. This works with
<verbatim>...</verbatim> as well.
It helps to get a feature accepted if there is a committed developer to implement the feature.
ReadmeFirst and
TWikiReleaseManagementProcess have more details.
--
PeterThoeny - 2009-09-28
See related
OverridingNumericLists.
--
PeterThoeny - 2011-01-04