Perhaps a dumb question, but if transclusion means the text from the linked document is loaded in the doc with the link, how come I only see a link when trying it out? I looked up what transclusion exactly is on Wikipedia and there it says:"… result of transclusion is a single integrated document made of parts assembled dynamically from separate sources…", but I don’t see that on my system. What am I doing wrong?
Well, I don’t know why, but while I was typing my question in Safari and after switching back to DTP, the do was suddenly there in the preview. Not in the actual editable text, but I don’t think that was the intention.
It’s not working with items from different databases on my system either… Why it suddenly worked the first time, I can’t tell, but that item was stored in the same database.
Well, that’s incorrect if my experience earlier on is anything to go on. That was a PDF document and it transcluded; after a while, that is. Besides, 2 out of 3 of my attempts are in your list (HTML and MD).
I’ve just played with this; for me it works with x-devonthink-item links, and using the name (w/ or w/o the extension) of a file in the same location (in my test the root of a database) as the md file. It also worked when I provided a path to a file within the database. In my tests I used plain text files. It does not work for me with links to external files.
I can’t see any way hook would sit in the way of this feature; I do have hook installed though.