mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 14:24:51 +00:00
a6ced74a13
* Initial Commit * Change of mind: Do not blank thisTiddler within macros * Revert previous implementation * Somewhat simpler implementation * Add docs * Add docs version tag
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> |