mushanshitiancai / vscode-paste-image

paste image from clipboard to markdown/asciidoc directly!
MIT License
423 stars 128 forks source link

Add a configuration:shouldSaveToDirectoryWithTheSameNameOfCurrentFile #9

Closed ArcEcho closed 7 years ago

ArcEcho commented 7 years ago

This configuration means whether PasteImage should save image to a directory whose name is the same as current document.This can help classification in use like writing article with hexo.

mushanshitiancai commented 7 years ago

Hello @ArcEcho , thanks for your commit very much.

I just update the plugin. Now the pasteImage.path configuration can use some variable:

So now you can set pasteImage.path="${currentFileDir}/${currentFileNameWithoutExt}" to match your needs.

ArcEcho commented 7 years ago

OK.Thanks!