jasonwilliams / anki

Anki VSCode Plugin
MIT License
273 stars 31 forks source link

Remote image not work #84

Closed terwer closed 1 year ago

terwer commented 1 year ago

When a markdown file contains remote image, it will throw a file not found error

Deck not sent: ENOENT: no such file or directory, open '/Users/terwer/Documents/mydocs/src.terwer.github.io/docs/001.后端开发/002.开源框架/001.MyBatis/https:/cdn.jsdelivr.net/gh/terwer/upload/img/20220314184626.png'

image

It is better to treat remote image as a image link and add to html tags,not to check file.

jasonwilliams commented 1 year ago

Hey @terwer yes that’s a good point, I’m open for PRs to fix this