當與bookdown :: html_document2一起使用時,pander不包括表格編號。我錯過了一些選擇嗎?在bookdown中沒有表格編號:html_document2
---
title: "Pander Table Numbering"
output: bookdown::html_document2
---
# Chapter 1
```{r}
library(knitr)
library(pander)
# Table 1.1
kable(head(iris), caption = "Iris with kable")
# Another Table 1.1 (ok, same chunk = same table)
kable(head(mtcars), caption = "Mtcars kable")
```
```{r}
# No table number
pander(head(iris), caption = "Iris with pander")
```
```{r}
# Table 1.2
kable(head(mtcars), caption = "Mtcars kable")
```
@daroczig太糟糕了,我種種原因錯過了你user2017 –
希望看到你下一次:)關於這個問題,我已經開了[GH票](https://github.com/Rapporter/pander/issues/307),並希望通過一些幫助來解決這個問題。不幸的是,我對'bookdown'內部信息不是很熟悉,但是爲'pander'增加一個新參數可能很容易解決這個問題。 – daroczig