I have some tasks which I would like to do, but aren’t relevant right now. This snippet (for config.edn) adds a /SOMEDAY
slash command. It adds or replaces the block’s task marker with SOMEDAY. I wrap it in internal-link brackets so that it has similar behavior to the built-in task markers. At some point I’ll add some custom css to make it have same look and feel as other tasks.
:commands [
["SOMEDAY" [[:editor/clear-current-slash] [:editor/set-marker "[[SOMEDAY]]"] [:editor/move-cursor-to-end]]]
]
References: