Is there any ability to write a function to export kable or kableExtra tables as different formats based on the output that knitr creates.
Specifically, I would want format = "simple" for .docx and format = "html" for .html.
I cannot find any examples of this so not sure if it is not possible.