njtierney / quarto-bug

0 stars 0 forks source link

::: {.cell} is printed when there is one extra backtick in code chunk #1

Open njtierney opened 4 months ago

njtierney commented 4 months ago

For example:


````{r}
#| label: functions
#| echo: false
# A function to scale input to 0-1
scale_01 <- function(x){
  (x - min(x, na.rm = TRUE)) / diff(range(x, na.rm = TRUE))
}
#| label: data-read-in
gapminder <- read_csv(here::here("data","gapminder.csv"))

Here are the first 6 rows of data



Gives

![image](https://github.com/njtierney/quarto-bug/assets/6488485/3b02660e-6bed-4f37-974d-da2543f12b8f)
njtierney commented 4 months ago

Removing the backtick removes this error. Posting this here as this was a bug I encountered, and should probably report to quarto team