create new tag
, view all tags

Feature Proposal: Give possibility to continue list numbering


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).


  1. a
  2. numbered
  3. list
#> my shell command listing 

  1. here (i write '4' in twiki notation, should become 4 then), continue my
  2. list numbering...


WhatDoesItAffect: Documentation, Rendering

Could also have impact on the HTML editor...


-- Contributors: GerardRoos - 2009-09-25


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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-01-04 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.