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

表格中网络图片显示 #47

Open
KelvinQQ opened this issue Oct 27, 2018 · 4 comments
Open

表格中网络图片显示 #47

KelvinQQ opened this issue Oct 27, 2018 · 4 comments

Comments

@KelvinQQ
Copy link

表格中加入网络图片标签后,,图片在表格中无法显示。

@TooBug
Copy link
Owner

TooBug commented Oct 29, 2018

嗯。暂时无法支持这么复杂的排版。稍晚研究一下是否可以支持。

@KelvinQQ
Copy link
Author

现在图片是按照屏幕宽度来等比放大的么?我有个小图,然后解析出来好大,效果失真了;

@TooBug
Copy link
Owner

TooBug commented Oct 30, 2018

是的。考虑编辑图片,加留白。markdown本身不含图片格式的信息,一般就是100%宽度或者居中,目前wemark是统一做100%宽度处理。

@ZhuPeng
Copy link
Contributor

ZhuPeng commented Jun 18, 2019

@HistoryZhang 在表格内额外添加了 图片和链接的支持,参考: https://github.com/ZhuPeng/mp-githubtrending/blob/master/third-party/wemark/wemark.wxml#L9

图片大小问题,如果不是太小的表格自动化分割,太小的图片需要在加载后设置大小,我这边实现了一个简单的版本:https://github.com/ZhuPeng/mp-githubtrending/blob/master/third-party/wemark/wemark.js#L41

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

No branches or pull requests

3 participants