PrismJS / PrismJS/prism

Multiple row ranges display different highlight colors

Open
#2,379 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Motivation
Please explain the problem you're having/why you propose this feature. Ex. I'm always frustrated when [...]

Description
A clear and concise description of what you want to happen.

For example, it is required that lines 1-3 are highlighted red and lines 4-9 are highlighted green. What should I do???

Alternatives
A clear and concise description of any alternative solutions or features you've considered, if applicable.

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

The issue names no source file, entry point, or test. Start by locating PrismJS's line-highlighting behavior and determine how multiple requested ranges are represented; done means lines 1-3 and 4-9 can display distinct highlight colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.