yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.93k stars 326 forks source link

Hover preview for image in editor #1191

Open globalhuman opened 2 years ago

globalhuman commented 2 years ago

Proposal

Hover over files in editor view and show a file/image preview. [name](file path)

image

This was mentioned in the following issue https://github.com/yzhang-gh/vscode-markdown/issues/216 and I have found a CHANGELOG.md mention to it possibly already existing https://github.com/yzhang-gh/vscode-markdown/blob/master/CHANGELOG.md#150-20180624

However the PR it mentions is no longer available? https://github.com/yzhang-gh/vscode-markdown/issues/188

Could someone please comment if this feature is already available otherwise it would be a handy feature to preview image in the editor.

Other information

yzhang-gh commented 2 years ago

Thanks for the feedback.

We do have the feature to show image preview during path completion, but it stopped working sometime after VS Code was updated (I'm not sure, it may be because VS Code changed how it handles file scheme).

This issue is about image preview in general. I think it is a valid feature although I may not have time to do this.