-
Notifications
You must be signed in to change notification settings - Fork 0
Create macros
Ente edited this page May 22, 2025
·
1 revision
- Create a new file within the same directory as your protocol, e.g.
macro.pml - Define the macro the following:
@new_macro // macro command
=name:myMacro // the macro name to be referenced in the protocol
=template:
<div class="some-class">{{title}} - {{text}}</div>
- Within your protocol, add the following:
@macro myMacro "macro.pml"
....
@meeting
....
@@macro=myMacro:title=My title;text=my Text
When parsing, your command will be replaced with the macro template.