Rendering gt tables with sparklines and inline plots to a docx document

Hello -

I have a gt table that includes sparklines and plots inline. The code broadly follows this excellent post by Albert Rapp.

I'm looking to render the table to a docx document, with the format and charts as it appears in the R Studio Viewer. However, I get unformatted tables with html code.

Would you have any suggestions?

Thanks!