1
0
silverbullet/website/🔌 Tasks.md
2022-11-25 16:01:05 +01:00

34 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
type: plug
repo: https://github.com/silverbulletmd/silverbullet
author: Silver Bullet Authors
---
The Tasks plug implements a lot of the task support in Silver Bullet.
Tasks in Silver Bullet are written using semi-standard task syntax:
* [ ] This is a task
Tasks can also be annotated with [[🔌 Core/Tags]]:
* [ ] This is a tagged task #my-tag
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 youre currently in.
Tasks can specify deadlines:
* [ ] This is due 📅 2022-11-26
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 of time.
This metadata is extracted and available via the `task` query source to [[🔌 Directive/Query]]:
<!-- #query task where page = "{{page}}"" -->
|name |done |page |pos|tags |deadline |
|---------------------|-----|--------|---|------|----------|
|This is a task |false|🔌 Tasks|245| | |
|This is a tagged task|false|🔌 Tasks|319|my-tag| |
|This is due |false|🔌 Tasks|605| |2022-11-26|
<!-- /query -->