This key defines the variables required for the selected template.
Appears in#
└── Snippet
└── definitionsType#
Object<unknown>
Values#
unknown — unknown#
Examples#
In this example, we have configured snippet definitions for a custom snippet template.
Copied to clipboard
_snippets_definitions:
custom_button:
template: button
definitions:
text: Button Text
url: Button URL{
"_snippets_definitions": {
"custom_button": {
"template": "button",
"definitions": {
"text": "Button Text",
"url": "Button URL"
}
}
}
}