From 72596513a0a64ed36f9aa0bf3a6456da4fac4bae Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Thu, 23 Nov 2023 17:33:14 +0100 Subject: [PATCH] docs: add example for query options and using callouts (#2447) * Example for query options and using callouts * Add link to documentation for callouts --- docs/Queries/About Queries.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/Queries/About Queries.md b/docs/Queries/About Queries.md index 136c547ac5..99d64bfafc 100644 --- a/docs/Queries/About Queries.md +++ b/docs/Queries/About Queries.md @@ -23,6 +23,24 @@ In Live Preview and Reading modes, this will list *all* tasks from your vault, r This is probably not what you want. Therefore, Tasks allows you to set query options to filter the tasks that you want to show. +For instance, you can show only the tasks (from anywhere in the vault) that are due today: + + ## Due today + ```tasks + due today + not done + ``` + +You can create as many task queries as you like, and you can also wrap them into [callouts](https://help.obsidian.md/Editing+and+formatting/Callouts) if you want to style them differently: + + > [!check] Due today + > ```tasks + > due today + > not done + > ``` + +In the following sections we will explain all the various options that are available for querying tasks. + ## Tasks Query options ### Searching tasks - Basics