Re-Created from Scratch - The whole systems architecture has been changed
- License changed to Mozilla Public License 2.0
- Replaced MooTools Framework by native code - requires IE >= 10
- NEW Highlighting Engines - every language support file has been rewritten
- Gulp based build-system
- ES6 Syntax using babeljs as transpiler
- Library is build and optimized with rollup.js
- UI components build with jsx - but without native react
- All Themes are transformed to LESS
- New Tokenizer Engine including a two stage analyzer
- Excessive Performance Optimizations
- The complete javascript code is capsuled within a closure and is only exposed by the
window.EnlighterJS
object - Highlighting can be removed at any time (elements will be removed from DOM)
- Removed the last pieces of Lighter.js codebase
New/Deprecated Features
- Added jQuery (jQuery.fn.x)
enlight()
extensions - Added: ECMA6 Support to Javascript Engine
- Added: Copy to clipboard button
- Added: YAML Support
- Added: Kotlin support
- Added: TypeScript support
- Added: Groovy support
- Added: LESS Support
- Added: SASS/SCSS Support
- Added: Dockerfile Support
- Added: CSS Level3 Support
- Added: Powershell Support
- Added: VisualBasic NET/Classic Support
- Added: Swift Support
- Added: Prolog Support (simple)
- Added: Bootstrap4 Theme
- Added: Dracula Theme (dark, following draculatheme colors)
- Removed: Lighter.js legacy themes (Git, Mocha, MooTools, Panic, Tutti, Twilight)
- Removed: most keyword lists from language files (direct regular expressions are used)