0
不添加交叉引用标签以表我有下述R代码块的bookdown文档中:knitr :: kable在输出
```{r list-organisms, include = TRUE, echo = FALSE, as.is = TRUE}
data %>%
dplyr::select(biological_source_name) %>%
unique() %>%
dplyr::rename("Biological Source" = biological_source_name) %>%
knitr::kable(caption = "List of source microbial genomes used in the benchmarks.", booktabs = TRUE)
```
在我使用交叉引用诸如文档:
listed in Table \@ref(tab:list-organisms).
但是,这些都没有找到,我得到整个文档??
。生成的html看起来像:
<table>
<thead>
<tr class="header">
<th align="left">Biological Source</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">T. composti</td>
</tr>
...
表标题也没有出现。