summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2022-05-27 12:56:20 +0200
committerMartin Haug <mhaug@live.de>2022-05-27 12:56:20 +0200
commit99cb655832161d4ebec73273a15453a8f6acc1b7 (patch)
tree9eb6328dda9cef5ba4b436465cebfca5b7bec076 /tests
parent0170913d5413aab4c1f2bd7d56b9b7138f676012 (diff)
Intra-document links
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/link.pngbin35262 -> 41124 bytes
-rw-r--r--tests/typ/text/link.typ4
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/text/link.png b/tests/ref/text/link.png
index 75ea19e8..5a9b4ca3 100644
--- a/tests/ref/text/link.png
+++ b/tests/ref/text/link.png
Binary files differ
diff --git a/tests/typ/text/link.typ b/tests/typ/text/link.typ
index 64697bff..01c0b88d 100644
--- a/tests/typ/text/link.typ
+++ b/tests/typ/text/link.typ
@@ -33,3 +33,7 @@ My cool #move(dx: 0.7cm, dy: 0.7cm, rotate(10deg, scale(200%, mylink)))
My cool rhino
#move(dx: 10pt, image("/res/rhino.png", width: 1cm))
])
+
+---
+// Link to page one.
+#link((page: 1, x: 10pt, y: 20pt))[Back to the start]