Skip to content

Conversation

@jooyoungseo
Copy link

@jooyoungseo jooyoungseo commented Dec 11, 2019

I have confirmed the following works without any issues:

test.Rmd:

---
output: bookdown::context_document2
---

```{r test, echo=FALSE}
library(knitr)
```

# Table Test

See Table\ \@ref(tab:test-table).

```{r test-table}
knitr::kable(head(airquality), caption = "Test table.")
```

---

# Figure Test

See Figure \@ref(fig:test-figure).

```{r test-figure, fig.cap="Figure test."}
hist(airquality$Ozone, col="blue")
```

Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This PR needs to wait for the next CRAN release of rmarkdown.

@yihui yihui merged commit cbfdecd into rstudio:master Mar 5, 2020
@jooyoungseo jooyoungseo deleted the context2 branch March 5, 2020 15:35
yihui added a commit that referenced this pull request May 6, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants