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

图片链接转换不支持带 <> 的形式 #30

Open
DummyKitty opened this issue Jan 3, 2024 · 2 comments
Open

图片链接转换不支持带 <> 的形式 #30

DummyKitty opened this issue Jan 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@DummyKitty
Copy link

图片名存在空格时,markdown 需要通过添加 <> 来进行渲染,比如:

![](<../.gitbook/assets/image (193).png>)

vscode 中是可以正常渲染的,但是到了 teedoc 中,生成的 html 页面无法被转化为图片连接。

图片

@Neutree
Copy link
Member

Neutree commented Jan 3, 2024

这算是什么加强语法了,现在teedoc用的语法解析器还支持这个特性,需要优化解析器支持这个特性才行,现在用了开源的mistune, 要自定义一个语法,还是比较麻烦的。
不过可以考虑加上这个特性,等有空我看看,也欢迎提交代码PR

@Neutree Neutree added the enhancement New feature or request label Jan 3, 2024
@Neutree
Copy link
Member

Neutree commented Jan 3, 2024

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