When a markdown file is open, dragging and dropping an image file with a png, jpeg, jpg, gif, or webp extension onto the text while holding down the Shift key will convert it to the DataUrl scheme and paste it into the markdown file.
At this time, the image is placed at the drop position in the form of a reference link, and the image file converted to the DataUrl scheme is expanded to the last line of the file.
Visual sudio code version 1.74.0 or higher
The value "markdown.editor.drop.enabled" must be false for this to work.
If you drag and drop multiple files at the same time, only one will be pasted.
add extension icon.
Support for uppercase extensions.
Drag and drop from Explorer view can now also be pasted.
When multiple panes are open, you can now paste to the inactive editor pane.