The following can be added to a file's front matter to provide more control to SNW's behavior.
| <div style="width:200px">YAML Key</div> | Description |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| snw-index-exclude | Set to `true` to prevent SNW from including this file in its index. This means any links to this file will not display block counts |
| snw-file-exclude | Set to `true` to prevent any block reference counters from being displayed on the current page. Basically turns off SNW for the file. NOTE: This will not affect embedded links. Embed files must have this YAML property set as well to have its counters excluded. |
| snw-canvas-exclude-preview | Set to `true` to prevent SNW from showing reference counters in a file embedded into canvas while in preview mode (it's default display mode which means the file is not being edited in canvas) |
| snw-canvas-exclude-edit | Set to `true` to prevent SNW from showing reference counters in a file embedded into canvas while in edit mode. |
> Note: reloading the document may be needed for these frontmatter properties to take effect.
## Example
The following prevents the current file from showing SNW reference counters.
```
snw-file-exclude: true
```
> Also See:
> - [[Using Strange New Worlds#Exclude Obsidian's ignored folders|Exclude Obsidian's ignored folders]]