I have a macro that inserts the following code in a new tiddler to create a to-do item for me:
<$checkbox tag="done" /> [[TODO]] Buy milk
Whenever I click the “TODO” link, I want it to change to “WAITING”, and then go back to “TODO” if I click it again. This is similar in functionality to Logseq.
Each tiddler will never have more than one to-do item, because I am using streams.
I’m not sure where to start. Ideally it would be a global macro so that it doesn’t change the code needed to create a to-do item (<$checkbox tag="done" /> [[TODO]] Buy milk
). Does anyone have any ideas? I appreciate the help.