mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-16 21:20:28 +00:00
29 lines
509 B
Plaintext
29 lines
509 B
Plaintext
|
title: ThisTiddler/Simple
|
||
|
description: Simple usage of thisTiddler variable
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
title: Output
|
||
|
|
||
|
\whitespace trim
|
||
|
\import Macro
|
||
|
\define print-this-tiddler()
|
||
|
<$text text=<<thisTiddler>>/>
|
||
|
\end
|
||
|
|
||
|
(<$text text=<<thisTiddler>>/>)
|
||
|
|
||
|
(<<print-this-tiddler>>)
|
||
|
|
||
|
(<<imported-print-this-tiddler>>)
|
||
|
|
||
|
+
|
||
|
title: Macro
|
||
|
|
||
|
\define imported-print-this-tiddler()
|
||
|
<$text text=<<thisTiddler>>/>
|
||
|
\end
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>(Output)</p><p>(Output)</p><p>(Output)</p>
|