From de5ce38f2d6ceea4341eb08fe4997e55664c7b35 Mon Sep 17 00:00:00 2001 From: Jay Hesselberth Date: Tue, 21 May 2024 17:50:43 -0600 Subject: [PATCH] try out figure numbers and xref --- vignettes/test/quarto.qmd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/vignettes/test/quarto.qmd b/vignettes/test/quarto.qmd index 36157fea8..7ec879bdd 100644 --- a/vignettes/test/quarto.qmd +++ b/vignettes/test/quarto.qmd @@ -7,3 +7,19 @@ vignette: > --- Example of rendering a quarto vignette. + +## Figure numbers + +```{r, cross-ref} +#| include: false +set.seed(42) +plot(rnorm(100)) +``` + +See \@ref(fig:cross-ref) for a plot. + +## Figure cross-references + +![bacon](bacon.jpg){#fig-bacon} + +See @fig-bacon for an illustration.