Highlight "revert" keyword value in CSS
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 885
- PR merge metrics
- No merged PRs in 30d
Description
Please add highlighting of the revert keyword value in CSS.
In this section: https://github.com/pygments/pygments/blob/2b915b92b81899a79a559d4ea0003b2454d636f4/pygments/lexers/css.py#L65
The other related values are already highlighted: inherit, initial, unset…
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in pygments/lexers/css.py at the linked section around line 65, where related CSS keyword values such as inherit, initial, and unset are highlighted. Add revert consistently with those values, then verify that CSS lexing highlights the keyword while the existing lexer behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100