mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 07:26:54 +00:00
Merge pull request #946 from fghhfg/patch-7
add some way to invoke macro
This commit is contained in:
commit
68b7212150
@ -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