Replies: 3 comments 11 replies
-
Right now this isn't possible via yaml (and many of those links would evade presence in the suggested LUA filter), but perhaps it would be nice to able to specify something like:
You could write a simple js file to walk the links and set their targets in the meantime. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this addition. I've just added it to my website navbar (header) and footer. It works in the nav bar, but
Have I missed something obvious? |
Beta Was this translation helpful? Give feedback.
-
Is there a way to only have "target: _black" for the different format listed under 'Other Formats'? I think people generally expect that if they click a link to a PDF, it'll open in a new tab, since that's common behaviour across many websites. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to specify
target="_blank
inhref
's in YAML's, for example inabout.qmd
or thenavbar:
in_quarto.yml
?As mentioned here, it's possible in Markdown: Is it possible to make all hrefs open in a new tab? as follows:
... but I haven't been able to find a way to do so in YAML hrefs.
Beta Was this translation helpful? Give feedback.
All reactions