Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great idea! No need to use Hightlight.js, Prism.js or CSS Custom Highlight API for syntax highlighting.

Could anybody make an online tool to choose another monospace font, programming language and color theme, and generate a syntax-highlighted font?




It could be done with opentype.js, but sadly it doesn't support `calt` GSUB type: https://github.com/opentypejs/opentype.js/issues/443

That said, we can have Notepad with built-in syntax highlighting now! https://fosstodon.org/@niutech/113028194839365739




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: