mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 09:50:27 +00:00
add some way to invoke macro
This commit is contained in:
parent
3630a2191e
commit
651ed60987
@ -71,3 +71,20 @@ By using triple-double quotes you can specify parameter values that include sing
|
||||
Rodentville,
|
||||
Ratland.""">>
|
||||
```
|
||||
|
||||
! Invoked
|
||||
|
||||
There are many different ways to invoke macro.A macro called `italicise` that takes a single parameter called `text` can be invoked in any of these ways:
|
||||
|
||||
```
|
||||
<<italicise "Text to be made into italics">>
|
||||
<<italicise text:"Text to be made into italics">>
|
||||
<$macrocall $name="italicise" text="Text to be made into italics"/>
|
||||
<$macrocall $name="italicise" text={{Title of tiddler containing text to be italicised}}/>
|
||||
<$macrocall $name="italicise" text=<<textMaker "Another macro to generate the text to be italicised">>/>
|
||||
```
|
||||
|
||||
''also see''
|
||||
|
||||
* [[Macros]]
|
||||
* [[MacroCallWidget]]
|
||||
|
Loading…
Reference in New Issue
Block a user