29 lines
935 B
Markdown
29 lines
935 B
Markdown
---
|
||
title: "Task Query"
|
||
type: concept
|
||
tags: []
|
||
sources: []
|
||
last_updated: 2025-03-13
|
||
---
|
||
|
||
## Definition
|
||
Task Query(任务查询)是 Obsidian Tasks 插件的核心功能,通过 `tasks` 代码块定义筛选条件(`not done`/`due before tomorrow`/`sort by priority` 等),在笔记任意位置嵌入动态任务列表。
|
||
|
||
## Details
|
||
- **语法示例**:
|
||
````
|
||
```tasks
|
||
not done
|
||
due before tomorrow
|
||
sort by priority
|
||
```
|
||
````
|
||
- **特点**:比 Notion 数据库更灵活,可嵌入任意笔记的上下文中,实现「在笔记的上下文里直接看到当前最重要的任务」
|
||
- **常用条件**:`not done`/`done`/`due on <date>`/`due before <date>`/`due after <date>`/`sort by created/sort by priority/sort by date`
|
||
|
||
## Related Concepts
|
||
- [[Obsidian Tasks]]:Task Query 的宿主插件
|
||
|
||
## Sources
|
||
- [[obsidian-tasks-插件-这可能是最适合懒人的任务管理方式]]
|