quarto-dev / quarto-dev/quarto-cli

Hover over eq reference

Open
#1,757 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Bug description

I would like to suggest en #enhancement that I believe would be beneficial for the Users.

The problem is that when author cross references to different part of the document (i.e. equation from different chapter) user is moved back and forth. How about in html format one could hover over the reference and would see the rendered equation (or a small version of the figure)? That would work like a footnote that is presented when hovered over.

I can see that there could be some issues when author is referencing to a range of equations (Equation 1.1 - 1.3).

quarto check Output

No response

quarto tools check Output

No response

Checklist
  • formatted your issue so it is easier for us to read?
  • included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • documented the quarto version you're running, by pasting the output from running quarto check in the "Quarto Check Output" text area?
  • documented the version of the quarto tools you're running, by providing the output from running quarto tools check in the "Quarto Tools Check Output" text area?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

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.

Research direction

No files or tests are named. Start by creating a small HTML document with a cross-referenced equation or figure and inspect the generated output; done means hovering over the reference shows a rendered preview, with behavior for reference ranges decided and covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.