We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
思源导出markdown链接基本格式的错误
在标准markdown格式下,文件链接不允许有空格存在,应该用20%替换空格,但是思源直接导出了带空格 的链接 例如导出以下导出文件链接 可以看到这个链接是无效的: [你好 你好.pdf](assets/你好 你好-20231020011920-jtmtghf.pdf)
应该为以下形式 [你好 你好-20231020011920-jtmtghf](assets/你好%20你好-20231020011920-jtmtghf.pdf) 才是标准的markdown语法 可以看到,以下链接是有效的 你好 你好-20231020011920-jtmtghf
[你好 你好-20231020011920-jtmtghf](assets/你好%20你好-20231020011920-jtmtghf.pdf)
No need.
- Version: 2.11.0 - Operating System: Windows - Browser (if used): none
No response
The text was updated successfully, but these errors were encountered:
此外,思源导出文件貌似会去掉文件名里面的括号,但是却不更改文件链接 例如 文件:811电子技术基础(含模电数电)-20231024002802-hrkua5k.pdf 导出md后文件名变成 811电子技术基础含模电数电-20231024002802-hrkua5k.pdf 但是导出链接依旧为 [811电子技术基础(含模电数电).pdf](assets/811电子技术基础(含模电数电)-20231024002802-hrkua5k.pdf) 而不是 [811电子技术基础(含模电数电).pdf](assets/811电子技术基础含模电数电-20231024002802-hrkua5k.pdf) 同样导致了链接失效,不知道是否是个例?
811电子技术基础(含模电数电)-20231024002802-hrkua5k.pdf
811电子技术基础含模电数电-20231024002802-hrkua5k.pdf
[811电子技术基础(含模电数电).pdf](assets/811电子技术基础(含模电数电)-20231024002802-hrkua5k.pdf)
[811电子技术基础(含模电数电).pdf](assets/811电子技术基础含模电数电-20231024002802-hrkua5k.pdf)
Sorry, something went wrong.
同样导致了链接失效,不知道是否是个例?
正常情况插入的文件会自动剔除 Markdown 标记符(比如 ( 和 )),所以导出时是不会存在带标记符的资源文件名的。
(
)
🎨 Protyle Improve export of Markdown hyperlink spaces siyuan-note/siy…
24f7d37
…uan#9792
🎨 Improve export of Markdown hyperlink spaces Fix #9792
fa5ee62
88250
No branches or pull requests
思源导出markdown链接基本格式的错误
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
在标准markdown格式下,文件链接不允许有空格存在,应该用20%替换空格,但是思源直接导出了带空格
的链接
例如导出以下导出文件链接
可以看到这个链接是无效的:
[你好 你好.pdf](assets/你好 你好-20231020011920-jtmtghf.pdf)
Expected result
应该为以下形式
[你好 你好-20231020011920-jtmtghf](assets/你好%20你好-20231020011920-jtmtghf.pdf)
才是标准的markdown语法
可以看到,以下链接是有效的
你好 你好-20231020011920-jtmtghf
Screenshot or screen recording presentation
No need.
Version environment
Log file
No need.
More information
No response
The text was updated successfully, but these errors were encountered: