mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 23:39:57 +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>
|