All the questions regarding table cross-referencing in a Rmarkdown document require using kable to cross-reference. How can I cross-reference an HTML table not produced from kable? For example, using the table1 package:
---
title: Test Table Cross-Reference
output: bookdown::html_document2
---
This should be a cross reference to table \@ref(tab:table).
```{r table, echo = FALSE}
table1::table1(~depth + table + price | cut, data = ggplot2::diamonds)
```
