markless
markless copied to clipboard
Image set via html image path isn't shown
<img src="../attachments/2021-06-02-15-59-45.png" width="200" height="200" />
@tejasvi First of all, amazing plugin, it is pretty much exactly how I want to edit Markdown in VSCode.
Just wanted to add that I'm seeing this behaviour for images that are defined with a relative path, such as the one below:
It looks like the plugin is using the project's directory instead of the current file to determine the relative path. For example, the file in the above screenshot is located at /Users/jackenders/Documents/Github/Notes/foo/bar
, so I would expect the plugin to look for the image at /Users/jackenders/Documents/Github/Notes/attachments/0.png
. Instead, it attempts to access the image at /Users/jackenders/Documents/attachments
, based on the path it displays when clicking "InlinePreview":
Let me know if I can provide any additional details!
Thanks, Jack
Now support http image link preview in custom version [email protected]