想企业微信应用发送文本信息展示不同的颜色,需要的是红色和绿色。
但是使用markdown语法不生效(ps:群聊机器人是可以的)
使用css支持红色、橙色、蓝色等,但是不支持绿色
请问是为什么,有什么其他方式可以实现
您好,发送应用消息-markdown语法 是支持绿色的。
<font color="info">绿色</font>
<font color="comment">灰色</font>
<font color="warning">橙红色</font>
您好,发送应用消息-markdown语法 是支持绿色的。
在接口请求url里加上debug=1参数,之后从接口返回的errmsg复制出hint值,粘贴到工具中看下传入参数
https://developer.work.weixin.qq.com/devtool/query
<font color="info">绿色</font>
<font color="comment">灰色</font>
<font color="warning">橙红色</font>
"content" : "这是测试颜色的markdown,<font color=\"info\">绿色</font><font color=\"comment\">灰色</font><font color=\"warning\">橙红色</font>"
}