Skip to content

Commit c98add4

Browse files
committed
vault: Add example using 'include just_the_description'
1 parent fae7f4d commit c98add4

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

resources/sample_vaults/Tasks-Demo/How To/Reuse instructions across the vault.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ include hide_buttons
6969
include hide_buttons
7070
```
7171

72-
## Hide everything, including tags
72+
## Show only the description and any tags
7373

7474
explain: `INPUT[toggle:TQ_explain]`
7575

@@ -83,6 +83,20 @@ include just_the_description_and_tags
8383
include just_the_description_and_tags
8484
```
8585

86+
## Just show the description, without tags
87+
88+
explain: `INPUT[toggle:TQ_explain]`
89+
90+
````text
91+
```tasks
92+
include just_the_description
93+
```
94+
````
95+
96+
```tasks
97+
include just_the_description
98+
```
99+
86100
## Advanced use: return a function, that takes a parameter from the query source
87101

88102
### Has context 'home' - and group by the Include text - version 1

0 commit comments

Comments
 (0)