summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/links.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/text/links.typ b/tests/typ/text/links.typ
index bea5f93e..e5f7affc 100644
--- a/tests/typ/text/links.typ
+++ b/tests/typ/text/links.typ
@@ -14,3 +14,9 @@ Contact #link("mailto:hi@typst.app") or call #link("tel:123") for more informati
// Styled with underline and color.
#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.]
+
+---
+// Transformed link.
+#page(height: 60pt)
+#let link = link("https://typst.app/")[LINK]
+My cool #move(x: 0.7cm, y: 0.7cm, rotate(10deg, scale(200%, link)))