talal / ilm

A versatile, clean and minimal template for non-fiction writing. Ideal for class notes, reports, and books.
https://typst.app/universe/package/ilm
MIT No Attribution
65 stars 9 forks source link

Avoid linebreak before link indicators #13

Closed wisp3rwind closed 1 month ago

wisp3rwind commented 1 month ago

It seems that otherwise, it is possible for a line break to occur just between the link text and the circle.

According to https://github.com/typst/typst/discussions/4372, adding the Unicode word join character is the way to forbid breaking at a specific breakpoint. I'm not totally sure both of these are needed: For the specific link where I found this issue, the character in the second position was sufficient to avoid the line break.

talal commented 1 month ago

Thanks!