This plugin will detect the markdown document image link, and automatically download to the file directory under the img directory. Then replace the image link in the document with the local image.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
MarkDump is a handy VS Code extension that automatically detects image links in Markdown documents, downloads them, and stores them in an img folder within the document's directory. It also renames the images sequentially (e.g., 01.png, 02.png, 03.png) and replaces the original links in the Markdown file with the local paths.
Features
Automatically detects image links in Markdown documents (supports HTTP/HTTPS links).
Downloads images to an img folder in the document's directory.
Renames the images sequentially (e.g., 01.png, 02.jpg).
Replaces the Markdown document's image links with local paths.
Installation
Open VS Code.
Go to the Extensions Marketplace, search for MarkDump, and click Install.
Once installed, you can start using the extension in your Markdown files.
How to Use
Prerequisites
Ensure you have opened a folder as a workspace in VS Code.
The Markdown file must be saved on disk.
Steps
Open a Markdown file.
Make sure the file contains image links, for example: