Ticket #1: added support for imposed sorting rules inheritance by subfolders

- YAML snippet in README.md updated for consistency with other examples
This commit is contained in:
SebastianMC 2022-08-30 20:31:20 +02:00
parent 20c79b0ee1
commit d798f4a96c
1 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ You can read the below YAML specification as:
- Note, that a more specific (or more nested or more focused) rule overrides the more generic inherited one - Note, that a more specific (or more nested or more focused) rule overrides the more generic inherited one
- at the same time, the folder `Archive` and `Inbox` sort their items by creation date - at the same time, the folder `Archive` and `Inbox` sort their items by creation date
- this is because specifying direct name in `target-folder: Archive` has always the highest priority and overrides any inheritance - this is because specifying direct name in `target-folder: Archive` has always the highest priority and overrides any inheritance
- and finally, the folders `/Reviews/Attachments` and `TODOs` are explicitly excluded from the control of the custom sort - and finally, the folders `Reviews/Attachments` and `TODOs` are explicitly excluded from the control of the custom sort
plugin and use the standard Obsidian UI sorting, as selected in the UI plugin and use the standard Obsidian UI sorting, as selected in the UI
- the special syntax `sorting: standard` tells the plugin to refrain from ordering items in specified folders - the special syntax `sorting: standard` tells the plugin to refrain from ordering items in specified folders
- again, specifying the folder by name in `target-folder: TODOs` overrides any inherited sorting rules - again, specifying the folder by name in `target-folder: TODOs` overrides any inherited sorting rules
@ -372,14 +372,14 @@ sorting-spec: |
target-folder: /* target-folder: /*
< a-z < a-z
target-folder: /Reviews/... target-folder: Reviews/...
< modified < modified
target-folder: Archive target-folder: Archive
target-folder: Inbox target-folder: Inbox
< created < created
target-folder: /Reviews/Attachments target-folder: Reviews/Attachments
target-folder: TODOs target-folder: TODOs
sorting: standard sorting: standard
--- ---