- Description:
This key defines the snippet string that contains the text to match for your snippet, with any dynamic sections represented using a placeholder in double square brackets.
- Appears in:
- Type:
string- Examples:
In this example, we have configured a snippet string for a custom button snippet.
Copied to clipboard_snippets_definitions: custom_button: snippet: '[[text]]' template: button{ "_snippets_definitions": { "custom_button": { "snippet": "[[text]]", "template": "button" } } }