https://github.com/Skeeve/TiddlyWiki5/tree/listops

You can see it in action on http.//tiddlystuff.tiddlyspot.com in the 
ListOps Tiddler.

Base list
   
   - BookmarkletMacro
   - LetWidget
   - ListOps
   - NewtiddlerWidget
   - ReplacePragma
   - UUIDmacro


reverse[]reverses the list
   
   - UUIDmacro
   - ReplacePragma
   - NewtiddlerWidget
   - ListOps
   - LetWidget
   - BookmarkletMacro

first[]selects the first tiddler of the list (or the first n if the operand 
is n)
   
   - BookmarkletMacro

first[3]selects the first 3 tiddlers of the list
   
   - BookmarkletMacro
   - LetWidget
   - ListOps

last[]selects the last tiddler of the list (or the last n if the operand is 
n)
   
   - UUIDmacro

last[3]selects the last 3 tiddlers of the list
   
   - NewtiddlerWidget
   - ReplacePragma
   - UUIDmacro

nth[2]selects the n-th tiddler of the list. Selects the second here. 
Defaults to n = 1.
   
   - LetWidget

butfirst[] *or* bf[] *or* rest[] selects all but the first tiddler of the 
list (or all but the first n if the operand is n)
   
   - LetWidget
   - ListOps
   - NewtiddlerWidget
   - ReplacePragma
   - UUIDmacro

butfirst[2] *or* bf[2] *or* rest[2] selects all but the first 2 tiddlers of 
the list
   
   - ListOps
   - NewtiddlerWidget
   - ReplacePragma
   - UUIDmacro

butlast[] *or* bl[]selects all but the last tiddler of the list (or all but 
the last n if the operand is n)
   
   - BookmarkletMacro
   - LetWidget
   - ListOps
   - NewtiddlerWidget
   - ReplacePragma

butlast[2] *or* bl[2]selects all but the last 2 tiddlers of the list
   
   - BookmarkletMacro
   - LetWidget
   - ListOps
   - NewtiddlerWidget



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to