Skip to content
Discussion options

You must be logged in to vote

I believe you should iterate on your content by leveraging child document in which you can fully right usual Qmd syntax. This will be safer for the outputs, and easier for using knitr and Quarto feature such as caption.

See my answer in this thread (#2370 (comment)) and this one (#2403 (comment)) regarding how to correctly iterate to program the creation of mix of Markdown + Code content.

Regarding figure caption for multiple plot, knitr should handle that using vector for figure options. This should work within Quarto too

---
format: html
---

```{r lab}
#| layout-ncol: 2
#| fig-cap: 
#|   - mtcars
#|   - cars
plot(mtcars)
plot(cars)
```

You should try for only one clustering group to s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pierre9344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants