Closed anonymousALLDAY closed 1 year ago
for example, let C:/project/a/b/c/d.md
C:/project/a/b/c/d.md
then here ${workspaceRoot} might be C:/project if I opened the folder project in vscode
${workspaceRoot}
C:/project
project
and ${fileDirName} might be C:/project/a/b/c
${fileDirName}
C:/project/a/b/c
then I only want to get a/b/c part.
a/b/c
@anonymousALLDAY You can use ${relativeFileDirname} in v0.19.4.
for example, let
C:/project/a/b/c/d.md
then here
${workspaceRoot}
might beC:/project
if I opened the folderproject
in vscodeand
${fileDirName}
might beC:/project/a/b/c
then I only want to get
a/b/c
part.