obsidian-tasks
obsidian-tasks copied to clipboard
Recognize date backlinks
First, thank you very much for your work on this plugin!
This PR changes Obsidian Tasks to recognize dates as backlinks (i.e., in Done, Due, and Scheduled dates). It does not change the plugin itself to generate backlinks (I figured that that could come later, if it were a desired feature). Rather, the use-case I have in mind is for anyone using the query functionality of the plugin, but generating task text outside of the plugin.
All tests still pass. Backlink markers are included in non-capture groups and are marked as optional in the relevant date regexes.
Thank you so much @jglev !
Eventually, this would be part of #384. Though I might merge this earlier, as I don’t know when I will get around to #384.
But please be patient. My time is very limited at the moment.
You weren’t forgotten! I had to cut a release to finally get live preview out of the door.
No worries, of course! And congratulations on the new release! :tada:
Hi @jglev, having taken over maintaining Tasks, I left this open hoping that to be able to merge it at some point.
However, recently a whole new abstraction has been added for reading and writing tasks - with a view to adding support for other task formats. See #1728.
So, realistically, I think that it would be best for this functionality to be implemented once at least one more task format is implemented, and we can see how task parsing will evolve.
Many thanks, and apologies that your contribution was never merged.