Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬,可否加一个变量获取文件名呢?方便建立对应的文件夹保存图片 #34

Open
YuanWind opened this issue Nov 30, 2021 · 3 comments

Comments

@YuanWind
Copy link

大佬,可否加一个变量获取文件名呢?方便建立对应的文件夹保存图片。
比如我想将 test.md中的图片都保存在其同目录下的 assets/${fileBasenameNoExtension}/ 文件夹下,也就是 assets/test/ 文件夹,目前好像不能根据文件名自动创建对应的 assets/test/ 文件夹

@zaaack
Copy link
Owner

zaaack commented Nov 30, 2021

${projectRoot} 目前支持${projectRoot}${file}${dir}这几种特殊变量,可以试试

@maolike
Copy link

maolike commented Jan 12, 2022

可以用github和picgo搭建图床很好用

@ChenJunzhi-buaa
Copy link

确实,俺也想要

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants