2022-11-25 15:01:05 +00:00
---
type: plug
repo: https://github.com/silverbulletmd/silverbullet
---
2023-01-16 15:45:55 +00:00
The Tasks plug implements a lot of the task support in SilverBullet.
2022-11-25 15:01:05 +00:00
2023-01-16 15:45:55 +00:00
Tasks in SilverBullet are written using semi-standard task syntax:
2022-11-25 15:01:05 +00:00
* [ ] This is a task
Tasks can also be annotated with [[🔌 Core/Tags]]:
* [ ] This is a tagged task #my -tag
2023-05-23 18:53:53 +00:00
You can _toggle_ a task state either by putting in an `x` or `X` inside the box or by simply clicking/tapping on the box. Alternatively, you can use the {[Task: Toggle]} command to toggle the task you’ re currently in.
2022-11-25 15:01:05 +00:00
Tasks can specify deadlines:
* [ ] This is due 📅 2022-11-26
2023-05-23 18:53:53 +00:00
When the cursor is positioned inside of a due date, the {[Task: Postpone]} command can be used to postpone the task for a certain period.
2022-11-25 15:01:05 +00:00
This metadata is extracted and available via the `task` query source to [[🔌 Directive/Query]]:
2023-07-24 09:09:17 +00:00
<!-- #query task where page = "{{@page.name}}" -->
|name |done |page |pos|tags |deadline |
|-----------------------------|-----|--------|---|------|----------|
|This is a task |false|🔌 Tasks|213| | |
|This is a tagged task #my -tag|false|🔌 Tasks|287|my-tag| |
|This is due |false|🔌 Tasks|573| |2022-11-26|
2022-11-25 15:01:05 +00:00
<!-- /query -->