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
- Claude Projects now lets you drag threads into the message box or @ mention them for precise context — dfeinition · 2026-10-27
- Fern 0.1: a 0.1–0.5T coding model one researcher pretrained in 3.5 months for under $10M — teortaxesTex · 2026-10-27
- Jane Street's Yinsky shares tips for making codebases agent-friendly: types, property tests, formal methods — sh_reya · 2026-10-27
- Celesto launches CI runners nearly 90% cheaper than GitHub Actions, with agent sandboxes — aniketmaurya · 2026-10-27
- Runway launches App Studio: build no-code creative apps that generate image, video and audio — runwayml · 2026-10-27
- Supabase founders on rebuilding the backend for a billion AI-built apps — Latent Space · 2026-10-27