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:
filters:
- flextable-qmd
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:
filters:
- flextable-qmd
- at: post-render
path: _extensions/flextable-qmd/unwrap-float.lua