You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
the following code below creates duplicate table captions:
Unsure if this is intended and wanting a format="html" in kable beforehand (see rstudio/bookdown#1489) or a bug?
---
title: "Untitled"
output:
bookdown::html_document2:
number_sections: true
global_numbering: true
editor_options:
chunk_output_type: console
date: "2025-02-05"
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
require(kableExtra)
require(bookdown)
```
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
```{r cars, echo=F, warnings=F, error=F, message=F, results="asis", include=T, tidy=F}
summary(cars)%>%
kable(longtable=F, booktabs=T, caption="test table label")%>%
kableExtra::kable_classic(full_width=F, html_font='Cambria', position="left")
```
## Including Plots
You can also embed plots, for example:
```{r pressure, echo=FALSE, fig.cap="Figure caption label"}
plot(pressure)
```
The text was updated successfully, but these errors were encountered:
Hi there,
the following code below creates duplicate table captions:
Unsure if this is intended and wanting a format="html" in kable beforehand (see rstudio/bookdown#1489) or a bug?
The text was updated successfully, but these errors were encountered: