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:
|
|
|
|
|
2021-10-17 18:26:00 +02:00
|
|
|
<Example pattern="rendertest" options={{ colors: false, circles: false, snippets: false, text: false, widthHd: false }}/>
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
Refer to [macro documentation](/reference/api/macro/) for details on how to use macros,
|
|
|
|
and the [plugins](/reference/plugins/) documentation for info on how to create your
|
|
|
|
own macros.
|