Skip to content

Commit

Permalink
try out figure numbers and xref
Browse files Browse the repository at this point in the history
  • Loading branch information
jayhesselberth committed May 21, 2024
1 parent 74fd83b commit de5ce38
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vignettes/test/quarto.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit de5ce38

Please sign in to comment.