Add Option to "Clip to DEVONthink" to turnon on or off saving Markdown Images

I like the new optional feature to save images in Markdown files into (by default) the “Assets” group. But it’s all or none. For me I don’t want to save any images for 90% of web pages I clip to Markdown. I use Markdown format as I’m only interested in the text most the time. If I need the images later I go back to the source web site. Sometimes I do want to save the images.

I’m suggesting you add a toggle on/off to change the global setting for clipping the images to “Assets”.

Then I would set the global as “off”, and then selectively turn on for a particular web site. Others could do opposite.

For on demand downloading there’s already Tools > Import Online Markdown Images available.

1 Like

That works. Best (amongst many) learning about DEVONthink in 2022! Thanks.

How to use it? It works for a single item or all markdown files?

The selected Markdown items.

It seems not working.

![](https://cubox.pro/c/filters:no_upscale()?valid=false&imageUrl=https%3A%2F%2Fpicx.zhimg.com%2F50%2Fv2-5693824841f658b9dec6efa16b879a2f_720w.jpg%3Fsource%3D1940ef5c)

Which version of DEVONthink do you use? The complete raw source of the Markdown would be useful.

I create a test md and reproduce the bug, the content is

## 123

abcabcabc

![def](https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic1.zhimg.com%2Fv2-9fa387c318fcad87c18124d120a680a1.webp&valid=false)

ghi

The version is up-to-date, devonthink 3.9.1

Your URL doesn’t resolve to anything online: https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic1.zhimg.com%2Fv2-9fa387c318fcad87c18124d120a680a1.webp&valid=false

Thanks! Maybe it’s not a public link.

Wfm, Kind of – the URL gets redirected to

https://image.cubox.pro/article/2023061620080352300/31649.jpg?imageMogr2/quality/90/format/gif/ignore-error/1
Terrible

The issue is caused by the unescaped () in the URL, the next release will handle this.

:joy:

By the way, the downloaded image will show as the relative link not the item link. It’s not convenient when I move the md file.

What item link?

This depends on Preferences > Files > Markdown

Oh I see. Thanks!