ML syntax highlighter matches Shiki accuracy with the model inlined in the bundle
shuding · x · 2026-09-08
shuding shares an ML-based syntax highlighting approach benchmarked against Shiki (AST-based, the current gold standard), reporting weighted correctness across GitHub's top 25 languages. Trained on 50+ languages — and behaving reasonably on unseen ones — the model makes up 70% of the library, inlined directly into the bundle.
More from coding & agent
- GPT-6 Astra codes geometry, Blender + Clay plugin renders, Dreamina finalizes footage — thetripathi58 · 2026-09-09
- Devs hack internal Claude Code plugin repos to share skills with teams — gregbarbosa · 2026-09-09
- Claude skips the training set: HTML/CSS rendered in a headless browser makes his site images — shashib · 2026-09-09
- TrueForge: open-source agent harness turns an LLM into a working agent, 5.3k stars — dr_cintas · 2026-09-09
- State Machines launches stateful API replicas for testing enterprise AI agents at scale — SimplyAnnisa · 2026-09-09
- Openclaw's sandbox model clarified: managed session sandboxes pair well with Docker Sandbox — steipete · 2026-09-09