telesoho / vscode-markdown-paste-image

Smartly paste for Markdown.
MIT License
134 stars 40 forks source link

need a variable such as ${fileDirName}.replace(${workspace}, "") #93

Closed anonymousALLDAY closed 1 year ago

anonymousALLDAY commented 1 year ago

for example, let C:/project/a/b/c/d.md

then here ${workspaceRoot} might be C:/project if I opened the folder project in vscode

and ${fileDirName} might be C:/project/a/b/c

then I only want to get a/b/c part.

telesoho commented 1 year ago

@anonymousALLDAY You can use ${relativeFileDirname} in v0.19.4.