Paste Image Extension
I had a VSCode extesion which will paste the clipboard image in images folder with number sequence.
I forgot the name of the extension
It sounds like you might be thinking of "Paste Image" by mushan. This is a popular VSCode extension that:
Allows you to paste images from clipboard directly into markdown files
Automatically saves images to a specified folder with sequential numbering
Can be configured to use custom naming patterns
There's also "Markdown Image" by hancel.lin which has similar functionality.
Would either of these be the extension you're thinking of? If not, I can suggest some other popular image pasting extensions for VSCode.
My cursor IDE is not pasting the image in md.
Let me help you troubleshoot the image pasting issue in Cursor IDE. A few things to check:
First, make sure you have a valid image in your clipboard (you can test by pasting in Paint or another image editor)
Check if you're using the standard keyboard shortcut:
Windows/Linux: Ctrl + Alt + V
Mac: Cmd + Alt + V
If those aren't working, the configuration might need to be updated. You can check your Cursor settings to ensure markdown image pasting is enabled.
Could you let me know if you're on Windows, Mac, or Linux? And have you been able to paste images successfully before, or is this the first time trying?
Also, as Cursor is based on VSCode, you might want to try installing the "Paste Image" extension directly in Cursor to see if that resolves the issue.
Mac: Cmd + Alt + V
where is alt button
On a Mac keyboard, the Alt key is usually labeled as "Option" (⌥). So the keyboard shortcut would be:
Command (⌘) + Option (⌥) + V
The Option/Alt key is typically located between the Command (⌘) and Control (⌃) keys on both sides of the spacebar.
If you're using a MacBook or Apple keyboard, the keys from left to right near the spacebar are: Fn - Control (⌃) - Option (⌥) - Command (⌘) - [spacebar]
Try pressing Command + Option + V while you have an image in your clipboard. This should trigger the paste image functionality.
Paste Image is working. However, I want to keep the images under "images
I can help you configure the Paste Image extension to save images in an "images" folder. Here's how to set it up:
Open VSCode/Cursor settings (Command + ,)
Search for "Paste Image"
Look for "Paste Image: Path" setting
Set it to "${currentFileDir}/images"
This will tell the extension to save all pasted images in an "images" subfolder relative to your current markdown file.
If the "images" folder doesn't exist yet, you'll need to create it first. You can do this either:
Manually through Finder/File Explorer
Or through the IDE by right-clicking in the file explorer panel and selecting "New Folder"
After setting this up, when you use Command + Option + V to paste an image, it should automatically save to the images folder with a numbered sequence like "image1.png", "image2.png", etc.
Would you like me to explain any other configuration options for the extension?
It is not pasting inside "images" folder. Also, it showing like below in md

Let's fix both issues - the image path and the folder location.
First, let's fix the folder path setting:
Open settings (Command + ,)
Search for "Paste Image: Path"
Set it to exactly:
images
Also check "Paste Image: Insert Pattern" and set it to:
images/${currentFileName}
The
../
in your path suggests the image is being saved one directory up from your current location. We want to fix this. Try these additional settings:Set "Paste Image: Base Path" to
${currentFileDir}
Set "Paste Image: Insert Pattern" to
./images/${currentFileName}
After applying these settings, your pasted images should:
Save into the "images" subfolder
Show up in your markdown with a correct relative path like:

Could you try pasting another image after applying these settings and let me know if it works better?
Last updated
Was this helpful?