-
Hi there, I'm trying to recreate my CV from I created a function called #let website_link(url, fill: luma(90%), size: 10pt) = {
set text(black, size: size)
block(
text(
link(url.dest) +
h(0.15cm)
+ fa-external-link(size: (size - 1pt))
),
fill: fill,
inset: 0.5em,
spacing: 0.75em
)
} Caution I would like to display the link as raw text but whenever I try to combine the Typst version : 0.11.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there, the |
Beta Was this translation helpful? Give feedback.
Hi there,
the
link()
function accepts two arguments, one for the link string and one content argument that is displayed instead of the link text (if given). Doeslink(url.dest, raw(url.dest))
do what you are looking for?