chrskerr / task-list-kanban

MIT License
19 stars 1 forks source link

Automated tag addition breaks terminating blockids #4

Closed Jeromandres closed 2 months ago

Jeromandres commented 2 months ago

Obsidian allows linking to every block of text, the reference being "^" character followed by a sequence of letters

Today task-list-kanban adds the tag at the end of the task block, even if the task block is terminated by a block id This can "permanently" break the link to the given task through the blockid

Could you change the way tags are added to add them before a potential blockid?


Background for my need:

1) I implemented a similar use case as task-list-kanban by in fact creating embedded links to tasks created elsewhere 2) I relied on some quick add triggers with backend javascript to select the priority in kanban and automatically adding the link to the right column in the kanban file 3) Migrating from my previous kanban set-up to your new plugin requires to have tag addition working correctly with blockids

chrskerr commented 2 months ago

To clarify, is it this syntax? https://help.obsidian.md/Linking+notes+and+files/Internal+links#Link+to+a+block+in+a+note

To my understanding the serialisation should look like this.

If that sounds right I can work on this shortly.

Jeromandres commented 2 months ago

Yes this is correct

no trailing spaces after the alphanumeric sequence, otherwise block link breaks