diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 18:58:39 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 19:57:28 +0100 |
| commit | 3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab (patch) | |
| tree | af09b0683352c4028436a2e5251dce54cf41d4aa /tests/typ/meta | |
| parent | f4856c18b9cf3f6952276cc61b557aebeb2fa651 (diff) | |
Make all nodes block-level
Diffstat (limited to 'tests/typ/meta')
| -rw-r--r-- | tests/typ/meta/link.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/meta/link.typ b/tests/typ/meta/link.typ index 4ed7e58d..3ceb261d 100644 --- a/tests/typ/meta/link.typ +++ b/tests/typ/meta/link.typ @@ -32,13 +32,13 @@ You could also make the // Transformed link. #set page(height: 60pt) #let mylink = link("https://typst.org/")[LINK] -My cool #move(dx: 0.7cm, dy: 0.7cm, rotate(10deg, scale(200%, mylink))) +My cool #box(move(dx: 0.7cm, dy: 0.7cm, rotate(10deg, scale(200%, mylink)))) --- // Link containing a block. #link("https://example.com/", block[ My cool rhino - #move(dx: 10pt, image("/rhino.png", width: 1cm)) + #box(move(dx: 10pt, image("/rhino.png", width: 1cm))) ]) --- |
