Skip to content
Discussion options

You must be logged in to vote

No, we don't currently support text-references. That said, you should be able to write captions below computational figures (i.e. outside of the scope of YAML) with some updates to cross references in v1.4. For example:

::: {#fig-test}

```{r}
#| echo: false
plot(cars)
```

This is is the caption for the figure.
:::

See @fig-test.

Note that you will need to download the v1.4 pre-release to get this functionality: https://quarto.org/docs/download/prerelease.html

Replies: 1 comment

Comment options

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

This discussion was converted from issue #7006 on September 26, 2023 18:16.