quarto-dev / quarto-dev/quarto

Code Blocks in Visual Editor (VSCode): no input field for caption

Open
#320 3 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

Hello,

I've noticed that there is no caption input field in the code block properties dialog and has to be added via Attributes:

image

Compared to for example the figures dialog.

image

Of course, this doesn't mean make code blocks dialog equal to the figure dialog, as they're two different types of content. Just adding a separate input field would help a lot!

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

Start by locating the VSCode Visual Editor's code block properties dialog and compare it with the figures dialog shown in the issue. Add a dedicated caption input for code blocks, retaining the existing Attributes option, and verify that the entered caption is saved and displayed correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.