Image preview using Devonthink custom URL

P Roy's Avatar

P Roy

29 Apr, 2017 07:22 AM

Devonthink allows each item in it's database to have a custom URL. After reading this article (https://www.macstories.net/ios/ipad-diaries-devonthinks-new-advanced-automation/), I attempted to insert images into my markdown documents using Devonthink URL's instead of local file location so as to have a cross-platform solution. Example: ![Image Name](x-devonthink-item://2FEC90B8-A15C-4B59-8638-A69D8A818537). Unfortunately, Marked is not able to preview the images linked in this fashion. Am I doing something incorrectly? Thank you for your help, and for your awesome app.

  1. Support Staff 1 Posted by Brett on 29 Apr, 2017 03:24 PM

    Brett's Avatar

    A Markdown image tag like that won't even work within DEVONthink's
    preview, as far as I know. It's not really a URL so much as a command,
    and an external viewer can't do anything with it other than have
    DevonThink open it. You could use it as a link, and clicking it would go
    to the image in DEVONthink, but not actually source the file.

    -Brett

  2. 2 Posted by Pinakpani Roy on 29 Apr, 2017 08:10 PM

    Pinakpani Roy's Avatar

    Thanks for your response.

    Based on my own testing, it works in Devonthink (Mac and iOS) and shows the actual image. But I don't use Devonthink as my markdown creation tool, which is why I was wondering if there was a way to do it using a third party editor and Marked.

    It also works on Editorial on iOS, but as a link (as you mentioned, opening the image within Devonthink instead of live preview).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac