[TW5] New plugin: tobibeer/join

44 views
Skip to first unread message

Tobias Beer

unread,
Dec 21, 2015, 11:01:25 AM12/21/15
to tiddl...@googlegroups.com
Hi everyone,

Third and last plugin for today, here's version 0.5.0 of tobibeer/join:


The plugin $:/plugins/tobibeer/join provides join[]:

  • a filter to join input titles into one string
  • allowing prefixes, suffixes, separators or to trim titles or result

Syntax 

[join[<item-template>\<option>:<option-value>\<option>:<option-value>]]

Specify an item template for the join[] filter, as well as further options as key:value.

  • [join[]] — simply join input titles
  • [join[<pre>%title%<post>]] — join via item template
  • [join[sep:- ]] — join with separator -
  • [join[trim:result]] — trim end result
  • [join[trim:each]] — trim each input title
  • [join[prefix:+]] — final prefix
  • [join[suffix:+]] — final suffix
  • [join[pre-%tile%\trim:each\prefix:ok:\sep:+]] — combine options

Best wishes,

Tobias.
Reply all
Reply to author
Forward
0 new messages