quarto-dev / quarto-dev/quarto

Quarto: Preview Diagram command not handling invisible link

Open
#452 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Hello,

not sure if an update is still possible, however I noticed the difference.
I have two options within VSCode:

a) Command Palette -> Quarto: Preview Diagram => that one ends up in displaying undefined.
b) click on the "Quarto Preview" option at the top right of the editor window => this properly executes quarto preview on localhost

image

The issue within a) only applies if ~~~ is being used, though. All other previews are displayed properly.

Quarto extension v1.111.0 is installed.

Thanks

Originally posted by @tbugfinder in https://github.com/quarto-dev/quarto-cli/issues/9461#issuecomment-2132898031

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue from the VSCode Command Palette using “Quarto: Preview Diagram” with a diagram containing an invisible link written as ~~~, then compare it with the “Quarto Preview” editor action. Trace the command entry point and determine why the diagram preview displays undefined; done means both preview paths handle the invisible link consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.