Closed djm2k closed 4 months ago
I think somehow excluding notes with the #meta
tag would be better
I think somehow excluding notes with the
#meta
tag would be better
@mufeedali great idea. I just pushed an update that makes this possible: instead of just a single pageExcludeRegex
option there is now an exclusions
option that can take multiple exclusion rules. And in addition to a page name regex you can also exclude based on tag name or a custom space-script function.
treeview:
exclusions:
- type: "tags"
tags: ["meta"]
- type: "regex"
rule: "^(?:SETTINGS|PLUGS|index|Library)$"
pageExcludeRegex
still works, but shows a deprecation message in the console. The type: "regex"
exclusion does the same exact thing now.
This PR adds a new config option
pageExcludeRegex
; added to the README.md:Closes #12.