This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Cascade Filter Run Prefix

 10th July 2023 at 7:33am
purposemodify input titles by successively evaluating a list of filters and applying the first result
inputthe filter output of all previous runs so far
outputthe input titles as modified by the filters returned by this filter run
Introduced in v5.2.1
:cascaderun

The filter expression for this filter run is evaluated to return a list of filters. Each input title is then evaluated against each of the filters in turn, and the input title is replaced with the first result of the first filter that returns a non-empty list. If none of the filters return a result for an input title, it is replaced with an empty string.

The following variables are available within the filter run:

  • currentTiddler - the input title
  • ..currentTiddler - the value of the variable currentTiddler outside the filter run.

Cascade Filter Run Prefix (Examples)