Unify syntax highlighting
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 32/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- developer-experience, performance, tooling
Research direction
Start by locating the Prism-based Markdown highlighting and the Wallace parser/highlight API integration used for tool output. Compare their behavior and performance with Shiki or the library suggested from pngwn, including removal costs when devtools closes. Done means all paths use one highlighting system, performance does not regress, and the resulting colors are acceptable.
Written by the indexing model from the issue text.
Description
We use prism for markdown based highlighting and use wallace parser + highlight api for all tooling based highlight. Tools highlight perf is not too great, especially when removing highlights (like when closing devtools panel).
Perhaps shiki or even that lib from pngwn could be a smart alternative.
AC
- everything uses the same highlight system
- perf is not nagatively impacted, if anything it should be faster
- colors match current highlight setup, but an exact match is not required
- Dominant language
- Svelte
- Stars
- 4
- Forks
- 0
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 23
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
- 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.
More from projectwallace/projectwallace.com
-
components defect page: analyze-css
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
projectwallace/projectwallace.com#500 ·
Maintainers usually reply within 1 day
-
platform: ci platform: security
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
projectwallace/projectwallace.com#498 ·
Maintainers usually reply within 1 day
-
platform: design
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
projectwallace/projectwallace.com#377 ·
Maintainers usually reply within 1 day
-
page: blog
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
projectwallace/projectwallace.com#375 ·
Maintainers usually reply within 1 day
-
page: blog
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
projectwallace/projectwallace.com#299 · 1 comment ·
Maintainers usually reply within 1 day
All issues in projectwallace/projectwallace.com
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug repro-ready
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
mksglu/context-mode#1454 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ranxianglei/billion-context#8315 ·
Maintainers usually reply within 1 day