Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Line numbers are selected when copying code from source page

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the source page and its code-selection behavior. Reproduce copying a code snippet to confirm that line numbers are included, then verify that copying selects only the code while preserving the expected source-page behavior.

Written by the indexing model from the issue text.

Description

When trying to copy and paste source code from the source page, the line numbers are included in the selection, making it difficult to copy just the code.

This creates a poor user experience when users want to copy code snippets.

Expected behavior: Line numbers should not be selected when copying code
Actual behavior: Line numbers are included in the selection

Dominant language
TypeScript
Stars
165
Forks
20
Avg merge
24m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from coder/blink

All issues in coder/blink

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.