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

编码 URL 时可选 "只编码空格" #53

Open
cxplay opened this issue Dec 10, 2021 · 3 comments
Open

编码 URL 时可选 "只编码空格" #53

cxplay opened this issue Dec 10, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@cxplay
Copy link

cxplay commented Dec 10, 2021

如标题所描述的一样, 有些文件带有中文主要是为了方便识别, 影响 Markdown 渲染识别的大部分只有空格而已.

对于含有影响 Markdown 语法的特殊符号一般都不会写进去

@imlinhanchao
Copy link
Owner

有没有例子我复现一下。

@cxplay
Copy link
Author

cxplay commented Dec 10, 2021

有没有例子我复现一下。

例如我现在的 File Name Format 是: ${mdname}/IMG_${YY}${MM}${DD}-${HH}${mm}${ss}

创建一个中文名带空格的 Markdown 文档, 然后使用插件插入图片, 文件的文件名都通过了格式化所以一切正常, 但是由于引用的文件名参数里面用到了文档名, 所以现在文档名带有空格如果不编码就会失败, 而全部编码又会影响源代码的观感:

image

@imlinhanchao
Copy link
Owner

OK,懂了。我想想

@imlinhanchao imlinhanchao added the enhancement New feature or request label May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants