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

新增 wechat-svg 模板 #38

Merged
merged 5 commits into from
Dec 7, 2023
Merged

新增 wechat-svg 模板 #38

merged 5 commits into from
Dec 7, 2023

Conversation

toFrankie
Copy link
Contributor

由于微信公众号文章存在诸多限制,比如无法应用外部 CSS 等,原先的 -t svg 模板并不能应用于微信公众号图文。因而新增 -t wechat-svg 模板。

除此之外,升级 js-beautify 依赖至 1.14.11 版本,对比此前的 1.7.5 版本在 CSS 格式化上会稍有不同,因而对应更新了 test/expected 里的 CSS 文件以通过单元测试。

最后,-t canvas 相关的几个单元测试似乎跑不通?

@joeyguo
Copy link
Member

joeyguo commented Dec 7, 2023

不错 👍

@joeyguo joeyguo merged commit 724f86e into gkajs:master Dec 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants