2022-04-27 01:04:36 +08:00
|
|
|
name: tasks
|
2022-10-13 21:16:18 +08:00
|
|
|
imports:
|
|
|
|
- https://get.silverbullet.md/global.plug.json
|
2022-04-12 02:34:09 +08:00
|
|
|
syntax:
|
|
|
|
DeadlineDate:
|
|
|
|
firstCharacters:
|
|
|
|
- "📅"
|
|
|
|
regex: "📅\\s*\\d{4}\\-\\d{2}\\-\\d{2}"
|
|
|
|
styles:
|
|
|
|
backgroundColor: "rgba(22,22,22,0.07)"
|
|
|
|
CompletedDate:
|
|
|
|
firstCharacters:
|
|
|
|
- "✅"
|
|
|
|
regex: "✅\\s*\\d{4}\\-\\d{2}\\-\\d{2}"
|
|
|
|
styles:
|
|
|
|
backgroundColor: "rgba(22,22,22,0.07)"
|
|
|
|
RepeatInterval:
|
|
|
|
firstCharacters:
|
|
|
|
- "🔁"
|
|
|
|
regex: "🔁\\s*every\\s+\\w+"
|
|
|
|
styles:
|
|
|
|
backgroundColor: "rgba(22,22,22,0.07)"
|
2022-03-28 21:25:05 +08:00
|
|
|
functions:
|
2022-11-18 23:04:37 +08:00
|
|
|
turnIntoTask:
|
|
|
|
redirect: core.applyLineReplace
|
|
|
|
slashCommand:
|
|
|
|
name: task
|
|
|
|
description: Turn into task
|
|
|
|
match: "^(\\s*)[\\-\\*]?\\s*(\\[[ xX]\\])?\\s*"
|
|
|
|
replace: "$1* [ ] "
|
|
|
|
|
2022-03-28 21:25:05 +08:00
|
|
|
indexTasks:
|
|
|
|
path: "./task.ts:indexTasks"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
taskToggle:
|
|
|
|
path: "./task.ts:taskToggle"
|
|
|
|
events:
|
|
|
|
- page:click
|
2022-04-19 22:54:47 +08:00
|
|
|
itemQueryProvider:
|
|
|
|
path: ./task.ts:queryProvider
|
|
|
|
events:
|
|
|
|
- query:task
|
2022-04-21 17:46:33 +08:00
|
|
|
taskToggleCommand:
|
|
|
|
path: ./task.ts:taskToggleCommand
|
|
|
|
command:
|
|
|
|
name: "Task: Toggle"
|
|
|
|
key: Alt-t
|
|
|
|
contexts:
|
|
|
|
- Task
|
|
|
|
taskPostponeCommand:
|
|
|
|
path: ./task.ts:postponeCommand
|
|
|
|
command:
|
2022-06-28 20:14:15 +08:00
|
|
|
name: "Task: Postpone"
|
2022-04-21 17:46:33 +08:00
|
|
|
key: Alt-+
|
|
|
|
contexts:
|
|
|
|
- DeadlineDate
|
2022-11-01 22:01:28 +08:00
|
|
|
previewTaskToggle:
|
|
|
|
env: client
|
|
|
|
path: ./task.ts:previewTaskToggle
|
|
|
|
events:
|
|
|
|
- preview:click
|