diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-10-28 23:35:13 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-10-29 00:52:15 +0200 |
| commit | 29130a26f83f28ae37be1ff4f57877e765d27285 (patch) | |
| tree | 5abc020ae1be4fa2681ca1b977ee7ce398b3a9bb /tests | |
| parent | 4c75adbb047cba73b052c2fafa9155e2e4026610 (diff) | |
Linebreaking for links
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/meta/link.png | bin | 71696 -> 71740 bytes | |||
| -rw-r--r-- | tests/ref/text/linebreak-link.png | bin | 0 -> 66990 bytes | |||
| -rw-r--r-- | tests/typ/text/linebreak-link.typ | 16 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/meta/link.png b/tests/ref/meta/link.png Binary files differindex 1232f413..01946e23 100644 --- a/tests/ref/meta/link.png +++ b/tests/ref/meta/link.png diff --git a/tests/ref/text/linebreak-link.png b/tests/ref/text/linebreak-link.png Binary files differnew file mode 100644 index 00000000..ab4e580f --- /dev/null +++ b/tests/ref/text/linebreak-link.png diff --git a/tests/typ/text/linebreak-link.typ b/tests/typ/text/linebreak-link.typ new file mode 100644 index 00000000..18b6d936 --- /dev/null +++ b/tests/typ/text/linebreak-link.typ @@ -0,0 +1,16 @@ +// Test linebreaking of links. + +--- +#link("https://example.com/(ab") \ +#link("https://example.com/(ab)") \ +#link("https://example.com/(paren)") \ +#link("https://example.com/paren)") \ +#link("https://hi.com/%%%%%%%%abcdef") \ + +--- +#set page(width: 240pt) +#set par(justify: true) + +Here's a link https://url.com/data/extern12840%data_urlenc and then there are more +links #link("www.url.com/data/extern12840%data_urlenc") in my text of links +http://mydataurl/hash/12098541029831025981024980124124214/incremental/progress%linkdata_information_setup_my_link_just_never_stops_going/on?query=false |
