Hey,
When you paste an item link into markdown files, DEVONthink automatically converts them to links. For example, if I paste
x-devonthink-item://C9940DDE-CE89-4376-9FAF-42536730C220?page=3
it may become
[Ingarden, Roman 1973 - A priori Knowledge in Kant](x-devonthink-item://C9940DDE-CE89-4376-9FAF-42536730C220?page=3)
This is a nice feature, but I wished it would respect existing markdown links. What happens is that the existing text-part of the markdown link already in place, simply gets deleted and replaced.
My scenario is as follows: DEVONthink indexes all the markdown documents from Logseq, where I might collect references on a particular topic I am researching. If the references are formatted like this:
- [@ingarden1973, [42](x-devonthink-item://...)]
- [@ingarden1973, 64]
- [@ingarden1973, 195]
- [@ingarden1973, 203]
whenever DEVONthink, I assume, re-indexes the files, all the links get destroyed and I end up with this:
- [@ingarden1973, [Ingarden, Roman 1973 - A priori Knowledge in Kant ](x-devonthink-item://...]
- [@ingarden1973, Ingarden, Roman 1973 - A priori Knowledge in Kant]
- [@ingarden1973, Ingarden, Roman 1973 - A priori Knowledge in Kant]
- [@ingarden1973, Ingarden, Roman 1973 - A priori Knowledge in Kant]
Imagine there are hundreds of references, that’s hours of work to fix.
The desired result: Do not insert a markdown link if the item link is already wrapped in one.
Merci!