Recent searches

in

definitions

On this page

This key defines the variables required for the selected template.

Appears in

└── Snippet
    └── definitions

Type

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"
      }
    }
  }
}
Open in a new tab