Obsidian 插件 Tasks
1分钟内可阅读完
Tasks 把待办直接写在笔记里,再用查询块把它们汇总成视图——「本周到期」「按文件分组的全部未完成」都是几句声明式语法。下面是我记下的常用查询语法,以及三个可以直接抄用的查询块。
常用查询语法
- 完成/未完成:
done或not done - 完成日期:
done before/after/on 日期 - 无到期日:
no due date - 截止日期:
due before/after/on 日期 - 日期可使用
today, yesterday, tomorrow, next week, last Friday, in two weeks等 - 路径
- 要搜寻:
path includes 路径 - 不搜寻:
path does not include 路径
- 要搜寻:
- 事项描述
description includes 字串description does not include 字串
- 最靠近标题
heading includes 标题heading does not include 标题
- 是否重复
is recurringis not recurring
- 排除某个事项:
excludes 清单事项 - 限制显示事项数目:
limit to 数值 tasks - 排序:
sort by (status|due|done|path|description) - 显示样式隐藏
hide edit button隐藏编辑按钮hide backlink隐藏反向链接hide done date隐藏完成日期hide due date隐藏截止日期hide recurrence rule隐藏重复规则hide task count隐藏任务数量统计