[TW5] New plugin: tobibeer/count

35 views
Skip to first unread message

Tobias Beer

unread,
Dec 29, 2015, 8:58:37 AM12/29/15
to TiddlyWiki
Hi everyone,

I have turned (a modified version of) the proposed count filter
into version 0.5.0 of the plugin tobibeer/count:


count[]
a filter to count input titles or compare the count against a number specified in the operand

Syntax

count[]
simply count input titles
count[<num>]
count and return if equal to <num>
count:$[<num>]
count and return input titles if count equals <num>
count:gt[<num>]
count and return count if greater than <num>
compare using any of: eq (default), neqgtgteltlte
count:$ gt[<num>]
count and returns input titles if count greater than <num>

Best wishes,

Tobias.
Reply all
Reply to author
Forward
0 new messages