mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 14:54:51 +00:00
21 lines
363 B
Plaintext
21 lines
363 B
Plaintext
|
title: CustomOperators/Simple
|
||
|
description: Simple custom operator usage
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
title: Output
|
||
|
|
||
|
\whitespace trim
|
||
|
|
||
|
\function .multiplybytwo()
|
||
|
[multiply[2]]
|
||
|
\end
|
||
|
|
||
|
<$text text={{{ [[123].multiplybytwo[]] }}}/>
|
||
|
|
|
||
|
<$text text={{{ [[123]function[.multiplybytwo]] }}}/>
|
||
|
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>246|246</p>
|