How to concatenate TypstStrings in Typstry.jl?

This should work,

macro T_str(s::String)
     :(@typst_str($("#set `some pretty rule` \n" * s)))
end

i.e., instead of calling the macro directly, generate code that passes it the updated string.

2 Likes