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

能不能在“导出到Github Wiki”的时候,也处理一下Html代码块里的图片路径呢 #23

Closed
YaoXuanZhi opened this issue Dec 12, 2016 · 4 comments

Comments

@YaoXuanZhi
Copy link

大大,这样的,之前在另外一个issue的时候,就提到了这个问题了,目前你是通过下面这种方式来识别图片地址并转换的
image
但是,此时,在处理这种html代码块的图片链接上失效了,能否也能让其支持这种图片地址呢?
image
类似的图片链接还有href等等。

@TevinLi
Copy link
Owner

TevinLi commented Dec 12, 2016

src 已经加了,href 是要下载还是? 加下也好吧,只有 a 标签的 href 是吧

@YaoXuanZhi
Copy link
Author

YaoXuanZhi commented Dec 13, 2016

嗯嗯,其实也有可能把一些.pdf、.docs还有Demo等附件上传到Wiki仓库的,所以才需要这种转换,毕竟Wiki很多时候都是作为项目的补充说明,很有可能会提供一些测试用例给读者下载的,因此我觉得把这些链接都加上去比较好啦o(〃'▽'〃)o

@TevinLi
Copy link
Owner

TevinLi commented Dec 14, 2016

嗯嗯,这些扩展资源作为补充,应该被支持
已经 commit 啦,下一版本发布就会带上 🍵

@TevinLi
Copy link
Owner

TevinLi commented Dec 19, 2016

已经在 v0.7.7 版本中,添加 html img 和 a 、markdown 链接的相对 assets 地址导出转换

@TevinLi TevinLi closed this as completed Dec 20, 2016
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

2 participants