microlight.js is an open-source micro-library which improves readability of code snippets by highlighting, for any programming language. Unlike other highlighting solutions, microlight.js does not keep a set of rules for many languages. Instead it uses a general strategy providing a reasonable highlight for most of programming languages. As result the library size is extremely compact.
microlight.js does not change the color — it only alters font type and look. Therefore the colors always match, and there is no need to tune-up the color theme.
https://asvd.github.io/microlight/