From e7590f1901fc3ed000af85eb07100b4e9f5a715a Mon Sep 17 00:00:00 2001 From: Signynt Date: Tue, 5 Aug 2025 12:13:27 +0200 Subject: [PATCH] Updated readme to include another dataview example --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab88873..41e85d5 100644 --- a/README.md +++ b/README.md @@ -119,12 +119,17 @@ Just select the "Sidebar" option in the settings, and use the "Open virtual cont ### Applying complex rules using Dataview You can use Dataview queries to create complex rules. For example, you can create a rule that applies to all notes in a specific folder, but only if they begin with a certain prefix. +It is recommended to use the Dataview option for very complex rules, as it allows for more flexibility and power than the built-in multi-condition rules. -Example dataview rule: +Example dataview rules: ``` LIST FROM "References/Authors" WHERE startswith(file.name, "Test") OR startswith(file.name, "Example") ``` +``` +LIST FROM "Tasks/Reports" WHERE (Tags = work AND status = "done") OR progress > 50 +``` + ## Limitations Links in the markdown text work natively when in Reading mode, however they don't in Live Preview, so I've added a workaround that gets most functionality back. This means that `left click` works to open the link in the current tab, and `middle mouse` and `ctrl/cmd + left click` works to open the link in a new tab. Right click currently doesn't work.