Skip to content

Exclude the tasks under the current path #1043

Discussion options

You must be logged in to vote

Yes, if you use one of the templating plugins, you can do exactly that. Your example would work with the core plugin Templates. Just use whatever "insert template" command comes with the plugin you use to insert the snippet.

Another example: I use the Periodic Notes plugin, which allows math on dates. {{date+1d}} is a template for "tomorrow". So to have a "starts before tomorrow" line in a task query in my daily note that will be fixed to that day's "tomorrow", my daily note template has a task query with the line starts before {{date+1d}}. Then when I create the note from the template, it gets turned into the correct fixed date.

You can insert a template snippet into a note at any point …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ma-sadeghi
Comment options

Answer selected by ma-sadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants