How to continue a numbered list after a break

is there a way to continue a list after a break ? And especially in WYSIWYG editing mode ?

what i mean is to obtain this :

TITLE
1. item
2. item
TITLE
3. item

i see this solution in css but i’m not sure how to implement it in xwiki, or even if it’s a good idea : https://stackoverflow.com/a/4615630, it implies to be able to add classes to <ol> elements.

Maybe there is an extension doing just that already ? I see this was already discussed in 2007 : [xwiki-users] numbered list

thank you all for your help :slight_smile:

Basically you want to control the number at which a list starts.

If you’re using XWiki Syntax 2.1+, you can use:

TITLE

1. item
1. item

TITLE

(% start="3" %)
1. item

Explanation: This is basically using the start parameter of the HTML OL tag, see <ol>: The Ordered List element - HTML | MDN

On the XWiki side, this is documented at https://www.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax?syntax=2.1&section=Parameters