Comment by niutech
1 year ago
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