Files
TiddlyWiki5/editions/tw5.com/tiddlers/macro Operator.tid
XLBilly 3c8ee86e23 Add macro operator (#9520)
* Add macro operator

* Replace unnecessary usage of wikify widget

* Simplify multiple let widget

* fixup! Replace unnecessary usage of wikify widget

* Update tests

* Update change note

* fixup! Replace unnecessary usage of wikify widget

* Update docs

* fixup! Update tests
2026-01-04 11:31:30 +00:00

14 lines
642 B
Plaintext

caption: macro
created: 20260104043647022
modified: 20260104045136808
op-input: ignored
op-output: the result of the javascript macro
op-parameter: first parameter is the javascript macro, subsequent parameters are passed to the macro by position
op-purpose: return the result from a javascript macro (with indirect parameters support)
tags: [[Filter Operators]]
title: macro Operator
type: text/vnd.tiddlywiki
<<.from-version "5.4.0">> The <<.op macro>> operator applies a javascript macro to the input titles, and returns the result from the macro. The function is invoked once with all of the input titles.
<<.operator-examples "macro">>