Query Todos
Quick examples:
Show a list of todos with a checkbox and a link to the source file. The list is appended to the end of the current block
{query: todos tag:"myTag" state:"todo" display:"referenced-list" }
Show a list of todos (not modifiable, but renders in place)
{query: todos tag:"myTag" state:"todo" display:"inplace-list"}
Show the count of todos
{query: todos tag:"myTag" state:"todo" display:"count" }
Show done todos
{query: todos tag:"myTag" state:"done" display:"referenced-list" }
Configuration parameters
| Parameter | Description |
|---|---|
| tag | Tag of the pages to be considered for the query. |
| state | State of the todos to be selected. Possible values: todo, done. |
| display | Display type of the selected todos. Possible values: referenced-list, inplace-list, count. |
Display-types:
referenced-list**
Creates a list of the selected todos at the end of the current block. Each item contains a checkbox and a link to the source file. If the checkbox is clicked, the todo is marked as done. Query-results can be stacked.
Query

Result

inplace-list
Creates a list of the selected todos in the markdown-block. Each item is prefixed with a icon. The list is not modifiable.
Query

Result

Result (done)

count
Creates a number of the selected todos in the markdown-block.
Query

Result
