C preprocessor directives not highlighted in Coal/Navy themes
Open
Nobody has claimed this yet.
A-Highlighting
C-enhancement
- Dominant language
- Rust
- Stars
- 22.2k
- Forks
- 1.9k
- PR merge metrics
- PR metrics pending
Description
Problem
You can see this on https://tavianator.com/2023/futex.html for example. Screenshot:
Ideally the #include and #define would get a different color than the rest of the text.
Proposed Solution
No response
Notes
No response
Contributor guide
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
Reproduce the highlighting on the linked futex.html example and compare the Coal and Navy themes, focusing on how #include and #define are rendered. Trace the theme or syntax-highlighting entry point used for C code, then verify that preprocessor directives receive a distinct color in both themes without changing other text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100