How can I prevent text starting with “https://” from being interpreted as a hyperlink? I tried #raw() but that didn’t work.
I don’t mind if the text is styled like a link but I don’t want the PDF reader to present it as clickable. The link is intentionally just a placeholder and won’t work so clicking on it is just confusing to the reader.
Not related Typst specific, I would like to point out that in my experience, as you may already know, some PDF readers render plain text URLs such as http://automatically clickable as links.
For example, if you look at this PDF file that I have just created: todelete.pdf (30.0 KB)
The first line contains only text.
The second line contains two URLs.
However, I’ve tried opening it with various PDF readers and the result differs depending on the PDF reader (and selected user preferences). Some PDF readers will try to help and make the URLs clickable, even with the plain text example on the first line. Just hover over the text with the mouse while you do your trials. Others readers will just disregard.
Hope this helps in the search of the solution with the Typst related question.