notes/Library/Core/Widget/Linked Tasks.md

9 lines
311 B
Markdown
Raw Normal View History

2024-01-22 15:49:44 +01:00
---
tags: template
description: |
Shows all tasks that contain a link the current page. For instance a task that references `[[John]]` in its name, would appear on the `John` page.
---
```query
task where name =~ /\[\[{{escapeRegexp @page.name}}\]\]/ where done = false render [[Library/Core/Query/Task]]
```