diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-29 15:09:54 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-29 15:09:54 +0200 |
| commit | e4e79990dad90aea17ea99e54fcd60435927bb56 (patch) | |
| tree | 2e893ac5e104867629c2dad38502ef3fdc426d33 /tests/typ/text/links.typ | |
| parent | 411aba5b6f541f96bbdb4e23a40cf022a867dc11 (diff) | |
Allow body for font function once again
Diffstat (limited to 'tests/typ/text/links.typ')
| -rw-r--r-- | tests/typ/text/links.typ | 2 |
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.] |
