[pmwiki-users] Quick way to automatically set %item value=<n>%

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 14 06:55:45 CST 2006


On Tue, Feb 14, 2006 at 08:18:04AM +0100, christian.ridderstrom at gmail.com wrote:
> What I was really doing was trying to make a list like this:
> 
> 	# Bla bla .. item 1 ... insert the command
> 	--> [@
> 	ls ..
> 	@]
> 	-> and then the command
> 	--> [@
> 	ls ...
> 	@]
> 	# Bla bla ... item 2
> 
> However, '->' cancels the enumeration count so I instead end up doing
> ...

Instead of using '->', why not use the whitespace rule?

    # Bla bla .. item 1 ... insert the command
    --> [@
    ls ..
    @]
     and then the command
    --> [@
    ls ...
    @]
    # Bla bla ... item 2

The "and then the command" is treated as part of the first list
item, and the second # is considered a continuation of the
previous list.

Pm




More information about the pmwiki-users mailing list