4 ms·
How does a code editor solve syntax highlighting on the web?
by ayhanfuat 2y ago
How does a code editor solve syntax highlighting on the web?
- thro1 2y ago- but the opposite: this one have such potential that you could possibly just use the font with language-specific syntax embeded and forget any other syntax highlighting (to some limits) on web (JS), console (in.. VIM) or wherever - as obsolete (in any program that did not have any syntax highlighting before - just use that font for that language and solved ) ;) - and then with hardware accelerated font rendering https://news.ycombinator.com/item?id=41251199 https://news.ycombinator.com/item?id=41251199 ?? ( ! ! ! )
- Shorel 2y agoJust displaying text with syntax highlighting is a solved issue. I read such code every day in github and similar tools.