Paste Image : a Visual Studio Code Extension to Paste Images to Markdown

I am used to writing documentation in Markdown. However, I’ve always been frustrated when it was about using images or screenshots to illustrate what I was documenting.

Indeed, we have to generate the image, copy it into the documentation folder and then, reference the path to it into the markdown file: a quite heavy task, especially when we want to use a lot of images.

So I looked into the Visual Studio Code marketplace and found the Paste Image extension. It will allow you to paste an image directly from the clipboard to a pre-defined folder and then generate the markdown code to reference it.