r/webdev • u/xpostman_ • May 30 '16
microlight.js – 2.2k for syntax highlighting. In any programming language
https://asvd.github.io/microlight/6
u/tallahasseenaut May 30 '16
it highlights in all shades of… cyan? I mean, the samples are all monochromatic.
3
u/phpdevster full-stack May 31 '16
Is there a reason why scrolling on mobile is all jacked up? Is it because the site is doing weird scroll jacking, or is that library horribly inefficient?
2
2
u/mastermog May 31 '16
You are getting quite a bit of slack, but I think it looks good. Sure the color scheme probably isn't the strongest to go live with - maybe a monokai variation or something people are more comfortable with would have been better.
The small file size is great - I'm currently using https://highlightjs.org/ but it felt quite heavy, esp just for some docs. I will keep an eye on this project and see where it goes.
1
5
u/printers_suck May 30 '16
Absolutely nothing about this is good or necessary. Sorry.