mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
Docs update
This commit is contained in:
parent
d950835e2f
commit
109edd1b76
@ -1,6 +1,6 @@
|
||||
caption: Macro Definitions
|
||||
created: 20220917154902906
|
||||
modified: 20220921093842230
|
||||
modified: 20220922073434674
|
||||
tags: WikiText Macros
|
||||
title: Macro Parameter Handling
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -43,6 +43,8 @@ Hi, I'm $(name)$ and I live in $(address)$.
|
||||
</$let>
|
||||
"""/>
|
||||
|
||||
<<.warning """It is important to note that if the text being inserted contains any substitution tokens then they will in turn be processed. This can lead to unexpected results.""">>
|
||||
|
||||
!! Accessing Parameters as Variables
|
||||
|
||||
When macros are wikified, the parameters can be accessed as variables with the name of the parameter wrapped with double underscores. For example, the parameter `address` would be accessed as the variable `__address__`.
|
||||
|
Loading…
Reference in New Issue
Block a user