vran-dev / obsidian-contribution-graph

generate interactive gitxxx style contribution graph for obsidian, use it to track your goals, habits, or anything else you want to track.
Apache License 2.0
244 stars 5 forks source link

A note for task user: Two types of Task Format #78

Closed liuh886 closed 6 months ago

liuh886 commented 6 months ago

There are two types of Task formats, which may cause confusion for some users.

Tasks Emoji Format- the default format for TASK
⏫ 🔁 every day when done
🛫 2023-04-05 ⏳ 2023-04-06 📅 2023-04-07
➕ 2023-04-03 ✅ 2023-04-08

Dataview Format
[priority:: high], [repeat:: every day when done]
[start:: 2023-04-05], [scheduled:: 2023-04-06], [due:: 2023-04-07]
[created:: 2023-04-03], [completion:: 2023-04-08]

The document does not cover any information on Date Field, but it does support task properties in Emoji Format or Dataview format:

Field name Short hand syntax (Emoji format)
due 🗓️YYYY-MM-DD
completion ✅YYYY-MM-DD
created ➕YYYY-MM-DD
start 🛫YYYY-MM-DD
scheduled ⏳YYYY-MM-DD

So, if you are using Emoji format, simply use 'completion' instead of 'done'. It would be helpful to include the following two links to the document:

https://publish.obsidian.md/tasks/Scripting/Task+Properties https://blacksmithgu.github.io/obsidian-dataview/annotation/metadata-tasks/

vran-dev commented 6 months ago

thanks for your tips