This key defines the literal string value that can be repeated for repeating literal parser configurations.
The value is a string that specifies the exact text that can appear multiple times in the snippet.
Appears in#
Type#
string Required
Examples#
In this example, we have configured a literal value for repeating literal parser.
Copied to clipboard
_snippets:
example:
snippet: <<example [[literal_param]]>>
params:
literal_param:
parser: repeating_literal
options:
literal: separator
default: 1{
"_snippets": {
"example": {
"snippet": "<<example [[literal_param]]>>",
"params": {
"literal_param": {
"parser": "repeating_literal",
"options": {
"literal": "separator",
"default": 1
}
}
}
}
}
}