But I still don't have anything besides paragraphs and headings, so my current solution will probably break again in the future. But for now this looks robust enough: snippet #let indent = 1em #let styled = [#set text(red)].func() #let space = [ ].func() #let sequence = []....