summaryrefslogtreecommitdiff
path: root/tests/typ/text/links.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text/links.typ')
-rw-r--r--tests/typ/text/links.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/text/links.typ b/tests/typ/text/links.typ
index eabb316a..e6aa1d89 100644
--- a/tests/typ/text/links.typ
+++ b/tests/typ/text/links.typ
@@ -8,5 +8,5 @@
This link appears #link("https://google.com/")[in the middle of] a paragraph.
// Styled with underline and color.
-#let link(url, body) = link(url, [#font(fill: rgb("283663")) #underline(body)])
+#let link(url, body) = link(url, font(fill: rgb("283663"), underline(body)))
You could also make the #link("https://html5zombo.com/")[link look way more typical.]