How to check if code is inside html.frame or in a pdf target?

Hi there @LordKekz,

Not sure if Bullseye -- Hit the target (HTML or paged/PDF) when styling your Typst document would be of any help?