Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test quarto vignette rendering #2572

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Suggests:
rstudioapi,
rticles,
rvest,
quarto,
sass,
testthat (>= 3.1.3),
tools
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pkgdown (development version)

* A new test vignette illustrates using quarto vignettes in pkgdown sites (#2210).
* YAML validation has been substantially improved so you should get much clearer errors if you have made a mistake (#1927). Please file an issue if you find a case where the error message is not helpful.
* `template_reference()` and `template_article()` now only add backticks to function names if needed (#2561).
* Custom navbars that specify `icon` but not `aria-label` will now generate a message reminding you to provide one for to improve accessibility (#2533).
Expand Down
25 changes: 25 additions & 0 deletions vignettes/test/quarto.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Quarto vignette"
vignette: >
%\VignetteIndexEntry{Quarto vignette}
%\VignetteEngine{quarto::html}
%\VignetteEncoding{UTF-8}
---

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.
Loading