01105: Add %item value=resume% to list processing

Summary: Add %item value=resume% to list processing
Created: 2009-06-30 21:00
Status: Closed, added as Cookbook:ListResume
Category: Feature
From: simon
Assigned:
Priority: 433
Version: 2.2.2
OS: any

Description: As suggested in ListStyles-Talk

add

%item value=resume%

to allow list number to resume from the previous value.

I note this may not be as easy as it seems as PmWiki may need to calculate what that number may be, since it is calculated in the browser.

# start
## start up
Something
# more
## yet more
  1. start
    1. start up

Something

  1. more
    1. yet more
# start %list resume%
## start up
Something
# more %list resume%
## yet more
  1. start
    1. start up

Something

  1. more
    1. yet more

I've written an addon that does that: Cookbook:ListResume. I've corrected the markup on this page %list resume% instead of %item value=resume% so the addon can be tested here. As implied above, it is much easier to do this in JavaScript by the browser than by the PmWiki markup engine, so here it is. --Petko March 12, 2018, at 02:52 PM