2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
title: Using macros
|
|
|
|
for: developers
|
|
|
|
about: Shows how you can use macros within your pattern
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
Macros are a way to facilitate pattern design by bundling a bunch of individual actions
|
|
|
|
into a little routine.
|
|
|
|
|
|
|
|
Macros are provided by [plugins](/reference/plugins/). Here are some examples:
|
|
|
|
|
2022-01-19 12:37:30 +01:00
|
|
|
<Example pattern="rendertest" options_only="macros">
|
|
|
|
Some examples of macros
|
|
|
|
</Example>
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-01-02 16:55:14 -05:00
|
|
|
Refer to the [macros documentation](/reference/api/macros/) for details on how to use macros,
|
2021-08-25 16:09:31 +02:00
|
|
|
and the [plugins](/reference/plugins/) documentation for info on how to create your
|
|
|
|
own macros.
|