Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Clear Markdown Unused ImagesNew to Visual Studio Code? Get it now.
Clear Markdown Unused Images

Clear Markdown Unused Images

therainisme

|
478 installs
| (1) | Free
This extension moves unused images in Markdown files to the 'unused-images' folder.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clear Markdown Unused Images

isualStudioMarketplace

This extension moves unused images in Markdown files to the 'unused-images' folder.

Usage

Press Ctrl+Shift+P(Cmd+Shift+P on Mac), type "Clear Markdown Unused Images: Run" and the extension will move unused images in Markdown files to the 'unused-images' folder.

example.gif

Configuration

You can configure the folders to be excluded from the image search by modifying the clear-markdown-unused-images.excludeFolders setting in your settings.json file.

By default, the following folders are excluded:

  • **/unused-images/**
  • **/node_modules/**

You can add your own glob patterns to this array to exclude other folders. For example:

"clear-markdown-unused-images.excludeFolders": [
  "**/unused-images/**",
  "**/node_modules/**",
  "**/assets/**"
]

Known Issues

No known issues at the moment.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft