Agreed. My most popular github repo is a JavaScript library, while professionally I'm mostly manager and my technical background is mostly in Python.
HN user
isagalaev
8 karma
Posts1
Comments6
Is a resume relevant in the age of online courses and open source projects? 14 years ago
What's That Programming Language? 14 years ago
This is basically what highlight.js does indeed :-)
Rainbow.js - code syntax highlighting in 1.2kb 14 years ago
Correction: highlight.js is 6 years old :-). And yes, I'm going to look into Rainbow more properly for useful ideas. And I encourage Craig to do the same. Isn't Open Source awesome? :-)
Rainbow.js - code syntax highlighting in 1.2kb 14 years ago
Rainbow.js - code syntax highlighting in 1.2kb 14 years ago
You shouldn't. There are just too many errors in highlighting.
Highlight.js does support Perl, does mark up q{...} as strings and has no problem with quoting in Lisp. I'm not sure about Haskell thing you mention because Haskell is a new contribution. But I'm sure it's fixable if it doesn't do the right thing.
You're probably talking about a hoard of simplistic regexp parsers. Highlight.js is not one of them, it's a proper context-aware parser.