Skip to content

Commit

Permalink
quarto includes 'Figure' in the cross-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
benmarwick committed Mar 1, 2023
1 parent fae2b3b commit f71bddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/templates/paper.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ my_data <- read.csv(here::here('analysis/data/raw_data/my_csv_file.csv'))
plot(rnorm(10))
```

Figure @fig-demo-plot shows how we can have a caption and cross-reference for a plot. Note that figure label and cross-references must both be prefixed with `fig-`
@fig-demo-plot shows how we can have a caption and cross-reference for a plot. Note that figure label and cross-references must both be prefixed with `fig-`

```{r}
#| label: demo-inline-code
Expand Down

0 comments on commit f71bddc

Please sign in to comment.