quarto-dev / quarto-dev/quarto

Correct image placeholder text

Open
#416 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When "dropping" an image into the VS Code Editor with the Quarto extension the following markdown is generated:

![Alt text](path/to/image.png)

It would be more correct for Alt text to say Caption, i.e.

![Caption](path/to/image.png)

It might also be worth considering whether the placeholder should include alt text, e.g. perhaps you should get:

![Caption](path/to/image.png){fig-alt="Alt text"}

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 image drop action in the Quarto VS Code extension and inspect the entry point that generates the markdown placeholder. Confirm the generated caption text matches the requested wording, and consider the optional fig-alt form described in the issue before verifying the result in VS Code.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.