telesoho / vscode-markdown-paste-image

Smartly paste for Markdown.
MIT License
135 stars 41 forks source link

variable ${fileBasename} not working #19

Closed tyler2018 closed 5 years ago

tyler2018 commented 5 years ago

whether only support ${workspaceRoot}. usually need same folder and same article name as folder name.

telesoho commented 5 years ago

I have release ver 0.9.2 to support the following predefined variables

- ${fileBasename} - the current opened file's basename
- ${fileBasenameNoExtension} - the current opened file's basename with no file extension
- ${fileExtname} - the current opened file's extension
- ${fileDirname} - the current opened file's dirname