Skip to content

Add link-previews to shortcodes-and-filters listing - #2136

Open
ravila4 wants to merge 1 commit into
quarto-dev:mainfrom
ravila4:add-link-previews
Open

Add link-previews to shortcodes-and-filters listing#2136
ravila4 wants to merge 1 commit into
quarto-dev:mainfrom
ravila4:add-link-previews

Conversation

@ravila4

@ravila4 ravila4 commented Aug 3, 2026

Copy link
Copy Markdown

Adds link-previews to the shortcodes-and-filters listing.

The filter gives a Quarto website hover previews for its internal links, the way Quartz digital gardens and Obsidian's page preview do. Hovering a link to another page opens a popover with that page's title block and content, and a link to a section opens the preview scrolled to that heading.

It reuses the tippy.js bundle Quarto already ships for footnote and cross-reference hovers, which is also where the popover theming comes from, so previews track the site theme in light and dark mode. Navigation chrome, external links, footnotes, cross-references and downloads are left alone.

Listing requirements: public GitHub repository, README with installation and usage, MIT license, tagged releases through v0.2.0, and a root example.qmd.

Live demo and docs, with the filter running on the site itself: https://ravila4.github.io/quarto-link-previews/

The entry is inserted alphabetically between line-highlight and linkate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant