quarto-dev / quarto-dev/quarto-cli
Manuscript projects do not support panel tabset
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Manuscript projects do not seem to support the panel tabset chunk option. Only writing the div elements directly will generate the tabset in the HTML document. See below for a reproducible example. Additionally, I get this warning with both approaches: "Warning: couldn't recognize format, using default tabset rendering"
---
title: "Tabset"
format: html
---
## Working
::: {.panel-tabset .column-page}
### Scatterplot
```{r}
#| echo: false
#| output: asis
plot(cars)
```
### Histogram
```{r}
#| echo: false
#| output: asis
hist(rnorm(40), nclass = 5)
```
:::
## Not working
```{r}
#| panel: tabset
#| output: asis
x <- list("Scatterplot" = plot(cars), "Histogram" = hist(rnorm(40), nclass = 5))
for (n in names(x)) {
cat("###", n, "\n")
print(x[[n]])
cat("\n\n")
}
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproducible manuscript example in the issue and compare the direct panel-tabset markup with the chunk using the panel option. Trace the path that emits the “couldn't recognize format” warning and verify that the chunk form produces the same tabset in the HTML output without the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, r
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100