- Description:
This key defines the parser type for literal parser configurations.
The value must be
literal. This specifies that the parameter uses the literal parser, which matches a specific literal string value.- Appears in:
└── Snippet └── params └── * └── Literal Parser Configuration └── parser- Type:
"literal"Required- Examples:
In this example, we have configured a literal parser for a snippet parameter.
Copied to clipboard_snippets: example: snippet: <<example [[literal_param]]>> params: literal_param: parser: literal options: literal: specific-value{ "_snippets": { "example": { "snippet": "<<example [[literal_param]]>>", "params": { "literal_param": { "parser": "literal", "options": { "literal": "specific-value" } } } } } }