【发布时间】:2021-12-03 12:50:07
【问题描述】:
我有以下 Text() 需要 Markdown 来显示链接
Text(.init("[Link Example](https://www.google.es/)"))
有没有办法更改链接的默认颜色设置?
【问题讨论】:
我有以下 Text() 需要 Markdown 来显示链接
Text(.init("[Link Example](https://www.google.es/)"))
有没有办法更改链接的默认颜色设置?
【问题讨论】:
可以使用强调色,比如
Text(.init("[Link Example](https://www.google.es/)"))
.accentColor(.red)
【讨论】: