- Description:
This key defines the output format style for snippet content.
The value can be
legacy,inline, orblock. This controls how snippet content is formatted when output to source code.- Appears in:
└── Snippet Style └── output- Type:
stringRequired- Allowed values:
legacyinlineblock- Examples:
In this example, we have configured snippet output style to use block formatting.
Copied to clipboard_snippets: highlight: snippet: <<highlight>> [[content]] <</highlight>> params: content: parser: content options: style: output: block{ "_snippets": { "highlight": { "snippet": "<<highlight>> [[content]] <</highlight>>", "params": { "content": { "parser": "content", "options": { "style": { "output": "block" } } } } } } }