quarto-dev / quarto-dev/quarto-cli

Support Default Highlighting Code in Code Annotations

Open
#4,989 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Support an option to 'dim` the un-annotated code by default (to draw attention to the annotated code). If the reader mouse's over the code block, activate all the code.

For example, default mode:

Screenshot 2023-03-27 at 7 27 05 PM

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, tests, or entry points are named. Start by locating the existing code-annotation implementation and reviewing the example image in the issue. Done means unannotated code is dimmed by default, hovering the code block restores all code, and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.