all flextable tags:
How to add captions to a flextable in R Markdown documents. These examples demonstrate various methods.