### Bug description

````
---
title: "gt missing reference"
format: docx
---


```{r}
#| label: load_data
data(cars)

library(gt)
```

Now lets try a table in our word document. This should be @tbl-cars.

```{r}
#| label: tbl-cars
#| tbl-cap: Something about cars.
cars |>
  dplyr::slice_head(n = 5) |>
  gt()
```
````
[gt_missing_reference.docx](https://github.com/quarto-dev/quarto-cli/files/10187371/gt_missing_reference.docx)

Rendering the above document (RStudio render button) results in the table reference looking like `?@tbl-cars`, and there is no caption.

If I force HTML output (`quarto::quarto_render(..., output_format = "html")`), I get the expected output of `Table 1`, as well as the caption.

Software details:

* R 4.2.1
* RStudio 2022.12.0-preview+348
* quarto 1.3.47
* gt rstudio/gt@d638baa
* Linux, Pop! OS 22.04 (skinned version of Ubuntu 22.04)

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-12-08T16:22:18Z
rmflight
bug crossref tables
v1.4
open
missing reference for gt table in word document
https://github.com/quarto-dev/quarto-cli/issues/3600