Adding the link to another related post, for reference (it also contains opportunities for making the documentation more robust): Custom Styles Using Quarto and Word Templates.
Adding the link to another related post, for reference (it also contains opportunities for making the documentation more robust): Custom Styles Using Quarto and Word Templates.