-
DescriptionIn a quarto website, I'd like to provide PDF versions of the various pages, which works great by setting
But I would like the PDF to open in a new window (or even appear as a download), which i would normally do with Unfortunately, I've been unable to get the target option to work. I've tried all four variants that come to mind ( Am I missing something, or is it ignoring the additional attributes? I don't see the target attribute in the generated HTML code... The target does work with other-links though via ---
title: "x"
format:
html: default
typst: default
format-links:
- html
- format: typst
text: PDF
icon: file-pdf
target: _blank
- text: Other Link
href: https://quarto.org/
icon: hand-thumbs-down
target: _blank
other-links:
- text: Another Link
href: https://quarto.org/
icon: hand-thumbs-up
target: _blank
---
This is a Quarto website.
To learn more about Quarto websites visit <https://quarto.org/docs/websites>.
```{r}
1 + 1
``` Thanks for any suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think
So I can see how this is confusing. We are currently not consistent between the options name and their support. |
Beta Was this translation helpful? Give feedback.
I have created an issue to track. Thank you !