- Description:
This key defines the indentation string used for block-level snippet content.
The value is a string that specifies the indentation tokens (typically spaces or tabs) applied to each line of block-level snippet content.
- Appears in:
└── Snippet Style └── block └── indent- Type:
string- Examples:
In this example, we have configured block indentation to use two spaces.
Copied to clipboard_snippets: highlight: snippet: <<highlight>> [[content]] <</highlight>> params: content: parser: content options: style: block: indent: ' '{ "_snippets": { "highlight": { "snippet": "<<highlight>> [[content]] <</highlight>>", "params": { "content": { "parser": "content", "options": { "style": { "block": { "indent": " " } } } } } } } }