Skip to content

VSCode Paste Image

Resources

Trying to make it behave as similar as md-img-paste.

Settings

settings.json:

{
    "before": ["<leader>", "p"],
    "commands": [
        "extension.pasteImage"
    ]
},
"pasteImage.filePathConfirmInputBoxMode": "onlyName",
"pasteImage.path": "${currentFileDir}/assets",
"pasteImage.showFilePathConfirmInputBox": true,
"pasteImage.namePrefix": "${currentFileNameWithoutExt}-",