This script asks the user which type of metadata they want to insert, then prompts them for the appropriate input based on their choice. It handles all the types of metadata mentioned here and appends the corresponding tag to the current line of the document.
- You will need the Templater Plugin
- Add file to your Templates Folder where Templater is looking for your Templates.
- In your documents, preferable in with the cursor in a task, press CMD+e (or whatever you call to call the templater template modal) and select the script.
-
It first asks for what you want to add
-
Priority lets you choose a priority
-
everything date related, you have several options
- add a YYYY-MM-DD format
- leave empty - defaults to today
- write:
tomorrow
,today
orin [N] days
, where n stands for the amount of days in the future
-
In your documents, preferable in with the cursor in a task, press CMD+e (or whatever you call to call the templater template modal) and select the script.
It defaults to the Emoji Format. You can change the format
variable in the beginning to something else to use the DataView Format
... and yes, this should be a boolean. Don't @mention me. 🤷♂️
#obsidian #obsidian-md #obsidian-templater #templater #templater-script #tasks #obsidian-task