Highlight.js v4.0 Release Notes
-
๐ New major version is a result of vast refactoring and of many contributions.
Visible new features:
- Highlighting of embedded languages. Currently is implemented highlighting of Javascript and CSS inside HTML.
- ๐ Bundled 5 ready-made style themes!
Invisible new features:
- Highlight.js no longer pollutes global namespace. Only one object and one function for backward compatibility.
- ๐ Performance is further increased by about 15%.
Changing of a major version number caused by a new format of language definition โก๏ธ files. If you use some third-party language files they should be updated.