Highlight.js v5.0 Release Notes

  • The main change in the new major version of highlight.js is a mechanism for packing several languages along with the library itself into a single compressed file. Now sites using several languages will load considerably faster because the library won't dynamically include additional files while loading.

    🛠 Also this version fixes a long-standing bug with Javascript highlighting that couldn't distinguish between regular expressions and division operations.

    🛠 And as usually there were a couple of minor correctness fixes.

    Great thanks to all contributors! Keep using highlight.js.