I’ve been obsessively into DEVONthink lately. Once I’ve truly explored it, I’ll write more about that, but in the meantime I wanted to share a handy integration for those already using it.

I’m very aware that DEVONthink has a great clipper. Whether you’re using bookmarklets, browser plugins, or the Sorter directly, it can grab a web page and convert it to Markdown, Web Archive, Formatted Note… whatever you want to do with it. The only problem I’ve run into is that the built-in Markdownifier lacks some of the things I built into Marky the Markdownifier1. So I added my own clipper.

DEVONthink has a very useful URL handler, which you can explore by looking at the source code for their bookmarklets (or by dissecting a browser plugin, but why bother?). It has options for clipping, creating Markdown and formatted notes, generating web archives, and more. For my purposes, I just wanted to create Markdown notes, but use Marky instead of the built in Markdown conversion tool. It took me about 10 minutes to build DEVONthink clipping into Marky itself.

Clip to DEVONthink in Marky

After Markdownifying a page with Marky, either from the main page or a custom bookmarklet (which Marky can generate for you), you’ll get a preview window with a “Clip to…” option. Clicking that will give you a list of options, now including DEVONthink.

Permissions in Firefox

The first time you use it, you’ll probably have to grant permission for Marky to open x-devonthink urls. I know there’s some magic in Chrome to grant permissions to all url handlers, but I’ve never found the same setting in Firefox, my browser of choice. But once you grant permission once, you should be good to go in the future.

DEVONthink inbox

Once you’ve Markdownified a page and clipped to DEVONthink, it will show up in your Global Inbox, ready to be classified. If you Markdownify to MultiMarkdown or GFM, tags in the original web page will be automatically applied to the new document (if you enable that in tag settings). I move most of these into my main nvUltra folder, which is an indexed folder accessible to both DEVONthink and nvUltra. Super handy that way.

Markdown Preview in DEVONthink

The page imports as a regular Markdown document, ready to edit and preview.

I hope this is useful to DEVONthink users. I’d like to figure out how to clip the Markdown as a Formatted Note next, but my experiments thus far haven’t worked. I’m sure I’ll figure it out.

Of course the generated DEVONthink url is available in the API as well. Just set the link format to devonthink. See the docs for details.

  1. At some point the developers asked me if they could use the source code for Marky v1, which I of course granted. I don’t think they’re using that anymore, though, as their clipping is much better than the original Marky.