quarto-dev / quarto-dev/quarto-cli

Support `preview-links` for internal link too

Open
#13,357 0 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Sep 9, 2025.

enhancement revealjs
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

https://quarto.org/docs/presentations/revealjs/presenting.html#preview-links

This feature can be set globally in quarto, and does apply on links, but only external links.

It can also be set on individual links your preview-links=true attribute. But still only consider for external links

https://github.com/quarto-dev/quarto-web/blob/ad285b29243c489079fa7ede7b5dac67e52e04e5/_freeze/site_libs/revealjs/plugin/quarto-support/support.js#L37-L108

Idea from @thomasp85: Do not apply filter on links with the attribute explicitly set on it.

Note:
This feature request is linked to new revealjs feature

  • #13356

as now preview-links leverage lightbox revealjs feature, and is not limited to <a> links.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.