Skip to content

Commit 3f73e96

Browse files
committed
docs: Further improvements to Layout.md
1 parent 2a7925b commit 3f73e96

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

docs/Queries/Layout.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ The following task elements exist:
3131
- `on completion`
3232
- `tags`
3333

34+
All of these task elements are shown by default, so you will use the command `hide`
35+
if you do not want to show any of them.
36+
37+
For example:
38+
39+
```text
40+
hide created date
41+
```
42+
3443
> [!released]
3544
>
3645
> - `created date` was introduced in Tasks 2.0.0.
@@ -62,14 +71,25 @@ The following query elements exist:
6271
>
6372
> - `urgency` was introduced in Tasks 1.14.0.
6473
65-
All of these elements except `urgency` are shown by default, so you will use the command `hide`
74+
All of these query elements except `urgency` are shown by default, so you will use the command `hide`
6675
if you do not want to show any of them, or the command `show` to show the urgency score.
6776

68-
Example:
77+
For example:
78+
79+
```text
80+
hide task count
81+
```
82+
83+
## Example of show and hide
84+
85+
Multiple show and hide instructions can be used in a query, each on a separate line.
86+
87+
For example:
6988

7089
```tasks
7190
no due date
7291
path includes GitHub
92+
7393
hide recurrence rule
7494
hide task count
7595
hide backlink

0 commit comments

Comments
 (0)