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.
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.