Replies: 2 comments 1 reply
-
Did you try to do what you are asking? Please provide a complete reproducible example that include format(s), etc. See https://quarto.org/bug-reports.html#small-is-beautiful-aim-for-a-single-document-with-10-lines. ````qmd
---
title: "Reproducible Quarto Document"
format: html
engine: knitr
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```

The end.
```` |
Beta Was this translation helpful? Give feedback.
0 replies
-
@choisy you probably need to leverage the new Div syntax for this. The caption is directly processed as Markdown content in that case when provided inside the div below the code chunk. https://quarto.org/docs/authoring/cross-references-divs.html ---
title: pdf caption
format: pdf
---
::: {#fig-example}
```{r}
#| echo: false
plot(1:10)
```
The caption with some LaTeX like this $\lambda$.
:::
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I would like to do something like this
Beta Was this translation helpful? Give feedback.
All reactions