### Bug description

I have been using the code below in rmarkdown::knitr to MS Word docx (via `output: officedown::rdocx_document:`) successfuly to reset the numbering counter for tables and figures, inserting it where I need to reset the counter. Unfortunately it does not work in Quarto docx documents.

It would be very nice to be able to use this or something similar in Quarto.

```

```{r} 
#| output: false
officer::run_autonum(
             seq_id = "fig",
             pre_label = "",
             start_at = 0,
             prop = fp_text(
  color = "white",
  font.size = 0)
  )
## Note: Reset figure numbering NOT working in qmd
``` 

```

### Checklist

- [ ] 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.
- [ ] 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.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [ ] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [ ] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cscheid
2023-05-19T23:19:34Z
eeenilsson
enhancement crossref
v1.4
open
Feature request: Some way to reset number counter for tables and figures.
https://github.com/quarto-dev/quarto-cli/issues/5614