After checking ‘Convert hashtags to Tags’, DEVONthink will assign Finder tags to indexed Markdown files, which works great.
However those are not removed if the corresponding hashtag is removed from the text. Is this the intended behavior? Is there a way to refresh tags based on current hashtags included in text files? I have tried “Update Indexed Items” without success.
Except (for completeness) in certain cases. (I do appreciate that’s probably irrelevant to the specific case the subject of this thread but mention it only in the context of your more general comment.)
Oh, I see the issue. I removed the hashtag in a third-party application (Obsidian) so presumably the script updating the tags did not run as it is not part of the indexing process.
Perhaps I can edit @pete31’s rule (thank you!) so that tags are refreshed upon opening of DEVONthink or something like that.
If you edit the content of an indexed file - say a plain text file editing in TextEdit, typed hashtags are converted to tags in DEVONthink.
Removing the hashtags in the content while in TextEdit doesn’t remove the file’s tags in DEVONthink when it updates.
Adding and removing the hashtags in DEVONthink adds and removes them as expected.