1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Update thisTiddler Variable (Examples) for using unique parameter n in .example macro (#7434)

Address issue in https://github.com/Jermolene/TiddlyWiki5/pull/7433#discussion_r1186744704
This commit is contained in:
Mohammad Rahmani 2023-05-09 21:24:01 +03:30 committed by GitHub
parent 3da0a9431c
commit 1af4324370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,9 @@ The first example shows how <<.def thisTiddler>> works whithin transcluded templ
The second example shows <<.def thisTiddler>> in the body of tiddler and inside a macro.
<$macrocall $name=".example" n="1" eg="""<$text text=<<thisTiddler>>/>"""/>
<$macrocall $name=".example" n="2" eg="""<$text text=<<thisTiddler>>/>"""/>
<$macrocall $name=".example" n="2" eg="""\define example() <$text text=<<thisTiddler>>/>
<$macrocall $name=".example" n="3" eg="""\define example() <$text text=<<thisTiddler>>/>
<<example>>
"""/>