Closed ArcEcho closed 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:
${currentFileDir}
will be replace by the path of directory that contain current editing file. ${projectRoot}
will be replace by path of the project opened in vscode.${currentFileName}
will be replace by current file name with ext.${currentFileNameWithoutExt}
will be replace by current file name without ext.So now you can set pasteImage.path="${currentFileDir}/${currentFileNameWithoutExt}"
to match your needs.
OK.Thanks!
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.