What would be the proper way to link an image located in a DEVONthink database so that a markdown file in the same database can be opened in Marked 2 or Deckset and have the image appear? I can preview the markdown file and image with DEVONthink preview, but the image links are broken when viewed by Marked or Deckset.
There’s not an efficient way to do this while the files and images are in DEVONthink.
If you were using relative links in a group, as you’d use when building a website, you could drag and drop the group out of DEVONthink and should be able to process the copy there.
I came here via google search because I am tinkering around this issue myself.
I have noticed that in the DT3 preview of markdown. Item URL and the relative name works, but not the actual file URL.
If you use other markdown software and leave everything inside DT3, the actual file URL works but not the devonthink item url or the relative name.
If you use other markdown software and drag out the whole group like what @BLUEFROG says, then the relative name works again. Of course, the file url may not work anymore.
My followup question is, does DT3 plan to support file URL in its preview in the future?
Some screenshots to demonstrate the difference
The markdown file as in the markdown syntax
The markdown file when under preview in DT3
The same markdown file but opened using other app like typora which is WYSIWYG
There is no issue with file://
URLs.
Your problem is you aren’t providing valid URL, i.e., a percent-encoded URL., e.g., 
While that’s of course true and the OP’s terminology was off: the MMD clearly says that links to local files can be written as the OP did (see here: Images). The problem seems to be that DT interprets file references in its own context, ie as references to a document in a database. In the OP’s case, the document would have to be in the group Users
etc in the current database (?), I suppose.
Not sure if the documentation eyes anything about that (and can’t check since I don’t take my Mac with me on holidays). If not, that might perhaps be a sensible addition.
Oh thank you!
I guess i just blindly copy paste the URL in DT3 and pasting in without thinking.
I right click on the PNG image and just use the copy URL blindly. so the trick is to add file://
as mentioned.
Thank you, @BLUEFROG
You’re welcome