mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-08 23:20:03 +00:00
Merge pull request #1851 from slovuj/patch-1
Wrong macro name in example description
This commit is contained in:
commit
533c8eec7a
@ -22,7 +22,7 @@ eg="""<$set name=animal value=zebra>
|
|||||||
|
|
||||||
!! Example: defining a macro
|
!! Example: defining a macro
|
||||||
|
|
||||||
The `\define` pragma below [[defines a macro|Macros in WikiText]] called <<.var tags>>. The macro returns the value of the tiddler's <<.field tags>> field, and can be accessed from anywhere else in the same tiddler (or in any tiddler that [[imports|ImportVariablesWidget]] it).
|
The `\define` pragma below [[defines a macro|Macros in WikiText]] called <<.var tags-of-current-tiddler>>. The macro returns the value of the tiddler's <<.field tags>> field, and can be accessed from anywhere else in the same tiddler (or in any tiddler that [[imports|ImportVariablesWidget]] it).
|
||||||
|
|
||||||
<$importvariables filter="$:/editions/tw5.com/macro-examples/tags-of-current-tiddler">
|
<$importvariables filter="$:/editions/tw5.com/macro-examples/tags-of-current-tiddler">
|
||||||
<$codeblock code={{$:/editions/tw5.com/macro-examples/tags-of-current-tiddler}}/>
|
<$codeblock code={{$:/editions/tw5.com/macro-examples/tags-of-current-tiddler}}/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user