Skip to content

Commit e7590f1

Browse files
committed
Updated readme to include another dataview example
1 parent 20a8abb commit e7590f1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,17 @@ Just select the "Sidebar" option in the settings, and use the "Open virtual cont
119119

120120
### Applying complex rules using Dataview
121121
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.
122+
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.
122123

123-
Example dataview rule:
124+
Example dataview rules:
124125
```
125126
LIST FROM "References/Authors" WHERE startswith(file.name, "Test") OR startswith(file.name, "Example")
126127
```
127128

129+
```
130+
LIST FROM "Tasks/Reports" WHERE (Tags = work AND status = "done") OR progress > 50
131+
```
132+
128133
## Limitations
129134

130135
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.

0 commit comments

Comments
 (0)