mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +00:00
e01dfa1507
Just as we can define custom widgets we can also define custom parameterised filter operators
16 lines
286 B
Plaintext
16 lines
286 B
Plaintext
title: CustomOperators/Simple
|
|
description: Simple custom operator usage
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\function [multiplybytwo[]]()
|
|
[multiply[2]]
|
|
\end
|
|
|
|
<$text text={{{ [[123]multiplybytwo[]] }}}/>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>246</p> |