noamross / redoc

[NOTE: Project in suspended animation for now] Reversible Reproducible Documents
https://noamross.github.io/redoc
Other
514 stars 44 forks source link

Problem with bookdown::markdown_document2(base_format=redoc::redoc) #56

Open jooyoungseo opened 5 years ago

jooyoungseo commented 5 years ago

Cross-reference for Table 1 is broken for the following output. Please address this issue.

Broken Results

Table <span class=“redoc” id=“redoc-citation-1”>@ref(tab:iris)

Reproducible Code

---
output: 
  bookdown::markdown_document2:
    base_format: redoc::redoc
---

Table \@ref(tab:iris)

```{r iris}
knitr::kable(head(iris), caption = "iris")

Table \@ref(tab:mtcars)

knitr::kable(head(mtcars), caption = "mtcars")

Figure \@ref(fig:histogram)

hist(airquality$Ozone, col="blue")