如何将Roboto字体添加到AMP 4电子邮件 [英] How to add Roboto font to AMP 4 Email
本文介绍了如何将Roboto字体添加到AMP 4电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
添加此内容时,出现The AMP Validator
错误:
When I add this, I get an error from The AMP Validator
:
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:300,400,500" rel="stylesheet">
The tag 'link' is disallowed.
如何在amp4email
内从Google字体添加字体.
How should I add fonts from Google Fonts inside an amp4email
.
推荐答案
电子邮件的AMP当前不支持自定义字体.
AMP for Email doesn't currently support custom fonts.
#21907 是此功能请求的跟踪问题.
#21907 is the tracking issue for this feature request.
这篇关于如何将Roboto字体添加到AMP 4电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文