Releases: EnlighterJS/EnlighterJS
Releases · EnlighterJS/EnlighterJS
Minor Bugfixes, Language enhancements, Support for Mikrotik RouterOS and R
- Added: keyword
k11
for annotations - Added: keyword
x16
for css element selectors - Added: contextual keywords to csharp - thanks to mabako on GitHub
- Added: kotlin string template support
- Added:
r
language support (covered by generic ruleset) - Added: MikroTik
RouterOS
language support (ros/mikrotik/switchos/routeros/mt) - Added: pound style comment support to
php
- Changed: css selector fragment highlighting is limited to the selector itself
- Changed: enhanced css unit parsing
- Changed:
java
,scala
,cpp
annotation token changed tok11
- Changed: added token
k11
to themes - Changed: moved generic highlighting rules to
lang/rulesets/generic
- Changed:
ampersandCleanup
is performed after html escape sequences to eliminate issues related to double unquoting #109 - Changed: toggle raw code label to "Plain text"
- Changed: allowed utf8 characters in
php
variable and function names (side effect of the php parser) - Bugfix: vhdl single bit highlighting collided with attribute syntax - thanks to tyriun on GitHub
- Bugfix: css classnames/ids with hyphens were not recognized
- Bugfix: XML mixins of single/double quotes in attributes failed #108
- Bugfix: dot char within XML attribute names not recognized
- Bugfix: kotlin raw string where not correctly parsed (wrong rule priority)
- Bugfix: highlighting color of
classic
theme not applied due to invalid selectors - thanks to woolseyj on GitHub
EnlighterJS 3 - Re-Created from Scratch
- 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: horizontal scroll option
- 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: QML Support
- Added: Prolog Support (simple)
- Added: Bootstrap4 Theme
- Added: Dracula Theme (dark, following draculatheme colors)
- Added: Monokai Theme (dark)
- Removed: Lighter.js legacy themes (Git, Mocha, MooTools, Panic, Tutti, Twilight)
- Removed: most keyword lists from language files (direct regular expressions are used)
LESS Themes with a bunch of magic
- Added:
text-overflow: scroll
option - LESS themes are now based on [detached rulesets}(http://lesscss.org/features/#detached-rulesets-feature) - this will significantly reduce the theme development time as well as making themes future-proof
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)
MSDOS support. Bugfixes. Build System Update
- Added:
msdos
support - thanks to audioscavenger on GitHub - Bugfix: misspelled css attribute
padding
in droide theme - thanks to audioscavenger on WordPress.org - Changed: modified legacy build process to run with local npm modules
XML Highlighting Bugfix
v2.11.1 release
Kotlin Support
- Added: Kontlin Language Support - thanks to kevcodez on GitHub
- Bugfix: Fixed Websites Theme Chooser
Minor Theme Bugfix
- Changed: toolbar button link to http://enlighterjs.org
- Bugfix: The special-line color of the Atomic theme was too dark. changed to 0x392d3b - thanks to CraigMcKenna on GitHub
Themes, Languages and minor Bugfix
- Added: Cython Language support - thanks to DevynCJohnson on GitHub
- Added: Squirrel Language support - thanks to DevynCJohnson on GitHub
- Added: General Assembly Language support - feature requested on GitHub
- Added: LUA Language support
- Added: Minimal Theme (bright, high contrast)
- Added: Atomic Theme (dark, colorful)
- Added: Rowhammer Theme (light)
- Added: new social buttons to the website
- Added: contribution guidelines
- Added: missing AVR Assembly features (used AVR-1022 reference)
- Added: new AVR Assembly testcase/example
- Added: support for multiple matching groups within patterns - thanks to Krusen on GitHub
- Added: dispose() function to remove generated HTML from DOM - may required for high dynamic sites - feature requested on GitHub
- Changed: used GFM style for the documentation (will break outdated MooTools-Forge markdown parser)
- Changed: the file extensions of
ThemeDevelopment
andLanguageDevelopment
are changed to.html
because PHP is not needed anymore during language/theme development - Changed: removed some javascript keywords like
stop
,close
- Bugfix: removed
console.log
debugging output from tokenizer - EnlighterJS has a new home http://enlighterjs.org
More Bugfixes
- Bugfix: the final character of highlighted code got removed by the tokenizer engine in case it's a text token with length=1 - thanks to dan-j on GitHub
- Bugfix: Generic highlighting was accidentally removed from EnlighterJS