Copies the flextable-qmd Quarto extension (bundled with
flextable) into the _extensions/ directory of a
Quarto project. The extension provides Lua filters
that resolve Quarto markdown content produced by
as_qmd() inside flextable cells for HTML, PDF
and Word (docx) output formats.
After installation, add the filter to your document or project YAML:
For Word (docx) output with labelled flextable chunks
(e.g. #| label: tbl-xxx), add the post-render filter
to remove the wrapper table Quarto creates around the
flextable:
See also
as_qmd() for creating Quarto markdown chunks,
knit_print.flextable() for rendering options in knitr documents.
