PrismJS / PrismJS/prism

Line Highlighter not visible in COY theme with line-number

Open
#3,552 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

Information:

  • Prism version: 1.29.0
  • Plugins: Prism.js Website
  • Environment: Chrome

Description
#848 seems to have reappeared. When testing line number + line highlight in the Coy theme, the highlight doesn't appear.

Example
This also happens on Prism.js website when using Coy theme: https://prismjs.com/plugins/line-highlight/#:~:text=Compatible%20with%20Line%20numbers
image

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 on the Prism.js line-highlight example using the Coy theme together with the line-numbers plugin in Chrome. Start by inspecting the line-highlight and line-numbers plugin behavior and compare it with the earlier issue #848. Done means the highlighted line is visibly rendered while line numbers remain enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
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.