Use the built-in Labels extension.
I am glad you like how it works.In my opinion, the utility of the built-in Labels extension is underestimated. It is really useful and necessary in many cases. It would be very complicated to perform certain tasks without this extension. I even think it should include more blocks to set other paragraph parameters, such as the line spacing.