tag:github.com,2008:https://github.com/EnlighterJS/EnlighterJS/releases Release notes from EnlighterJS 2023-01-15T12:55:37Z tag:github.com,2008:Repository/9325738/v3.6.0 2023-01-15T12:55:37Z v3.6.0 <p>release</p> AndiDittrich tag:github.com,2008:Repository/9325738/v3.5.0 2022-05-08T11:03:54Z v3.5.0 <p>release</p> AndiDittrich tag:github.com,2008:Repository/9325738/v3.4.0 2020-08-02T09:15:04Z Minor Bugfixes, Language enhancements, Support for Mikrotik RouterOS and R <ul> <li>Added: keyword <code>k11</code> for annotations</li> <li>Added: keyword <code>x16</code> for css element selectors</li> <li>Added: contextual keywords to csharp - thanks to <a href="https://github.com/EnlighterJS/EnlighterJS/pull/112" data-hovercard-type="pull_request" data-hovercard-url="/EnlighterJS/EnlighterJS/pull/112/hovercard">mabako on GitHub</a></li> <li>Added: kotlin string template support</li> <li>Added: <code>r</code> language support (covered by generic ruleset)</li> <li>Added: MikroTik <code>RouterOS</code> language support (ros/mikrotik/switchos/routeros/mt)</li> <li>Added: pound style comment support to <code>php</code></li> <li>Changed: css selector fragment highlighting is limited to the selector itself</li> <li>Changed: enhanced css unit parsing</li> <li>Changed: <code>java</code>, <code>scala</code>, <code>cpp</code> annotation token changed to <code>k11</code></li> <li>Changed: added token <code>k11</code> to themes</li> <li>Changed: moved generic highlighting rules to <code>lang/rulesets/generic</code></li> <li>Changed: <code>ampersandCleanup</code> is performed after html escape sequences to eliminate issues related to double unquoting <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="622550586" data-permission-text="Title is private" data-url="https://github.com/EnlighterJS/EnlighterJS/issues/109" data-hovercard-type="issue" data-hovercard-url="/EnlighterJS/EnlighterJS/issues/109/hovercard" href="https://github.com/EnlighterJS/EnlighterJS/issues/109">#109</a></li> <li>Changed: toggle raw code label to "Plain text"</li> <li>Changed: allowed utf8 characters in <code>php</code> variable and function names (side effect of the php parser)</li> <li>Bugfix: vhdl single bit highlighting collided with attribute syntax - thanks to <a href="https://github.com/EnlighterJS/EnlighterJS/issues/106" data-hovercard-type="issue" data-hovercard-url="/EnlighterJS/EnlighterJS/issues/106/hovercard">tyriun on GitHub</a></li> <li>Bugfix: css classnames/ids with hyphens were not recognized</li> <li>Bugfix: XML mixins of single/double quotes in attributes failed <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="622536577" data-permission-text="Title is private" data-url="https://github.com/EnlighterJS/EnlighterJS/issues/108" data-hovercard-type="issue" data-hovercard-url="/EnlighterJS/EnlighterJS/issues/108/hovercard" href="https://github.com/EnlighterJS/EnlighterJS/issues/108">#108</a></li> <li>Bugfix: dot char within XML attribute names not recognized</li> <li>Bugfix: kotlin raw string where not correctly parsed (wrong rule priority)</li> <li>Bugfix: highlighting color of <code>classic</code> theme not applied due to invalid selectors - thanks to <a href="https://github.com/EnlighterJS/EnlighterJS/issues/117" data-hovercard-type="issue" data-hovercard-url="/EnlighterJS/EnlighterJS/issues/117/hovercard">woolseyj on GitHub</a></li> </ul> AndiDittrich tag:github.com,2008:Repository/9325738/v3.3.0 2020-04-21T19:01:11Z v3.3.0 <p>release</p> AndiDittrich tag:github.com,2008:Repository/9325738/v3.2.0 2020-04-16T15:39:53Z v3.2.0 <p>release</p> AndiDittrich tag:github.com,2008:Repository/9325738/v3.0.0 2019-06-17T16:34:16Z EnlighterJS 3 - Re-Created from Scratch <ul> <li>License changed to <strong>Mozilla Public License 2.0</strong></li> <li>Replaced MooTools Framework by native code - requires IE &gt;= 10</li> <li><strong>NEW Highlighting Engines</strong> - every language support file has been rewritten</li> <li><a href="http://gulpjs.com/" rel="nofollow">Gulp</a> based build-system</li> <li>ES6 Syntax using <a href="http://babeljs.io/" rel="nofollow">babeljs</a> as transpiler</li> <li>Library is build and optimized with <a href="https://rollupjs.org/" rel="nofollow">rollup.js</a></li> <li>UI components build with <a href="https://reactjs.org/docs/introducing-jsx.html" rel="nofollow">jsx</a> - but without native react</li> <li>All Themes are transformed to <a href="http://lesscss.org" rel="nofollow">LESS</a></li> <li>New Tokenizer Engine including a two stage analyzer</li> <li>Excessive Performance Optimizations</li> <li>The complete javascript code is capsuled within a closure and is only exposed by the <code>window.EnlighterJS</code> object</li> <li>Highlighting can be removed at any time (elements will be removed from DOM)</li> <li>Removed the last pieces of Lighter.js codebase</li> </ul> <p><strong>New/Deprecated Features</strong></p> <ul> <li>Added jQuery (jQuery.fn.x) <code>enlight()</code> extensions</li> <li>Added: ECMA6 Support to Javascript Engine</li> <li>Added: Copy to clipboard button</li> <li>Added: horizontal scroll option</li> <li>Added: <a href="http://docs.ansible.com/ansible/YAMLSyntax.html" rel="nofollow">YAML</a> Support</li> <li>Added: <a href="https://kotlinlang.org" rel="nofollow">Kotlin</a> support</li> <li>Added: <a href="https://www.typescriptlang.org/" rel="nofollow">TypeScript</a> support</li> <li>Added: <a href="http://groovy-lang.org" rel="nofollow">Groovy</a> support</li> <li>Added: <a href="http://lesscss.org/" rel="nofollow">LESS</a> Support</li> <li>Added: <a href="http://sass-lang.com/" rel="nofollow">SASS/SCSS</a> Support</li> <li>Added: <a href="https://docs.docker.com/engine/reference/builder/" rel="nofollow">Dockerfile</a> Support</li> <li>Added: <a href="http://www.w3schools.com/css/css3_intro.asp" rel="nofollow">CSS Level3</a> Support</li> <li>Added: <a href="https://msdn.microsoft.com/en-us/powershell/mt173057.aspx" rel="nofollow">Powershell</a> Support</li> <li>Added: <a href="https://msdn.microsoft.com/de-de/library/2x7h1hfk.aspx" rel="nofollow">VisualBasic NET/Classic</a> Support</li> <li>Added: <a href="https://developer.apple.com/library/prerelease/content/documentation/Swift/Conceptual/Swift_Programming_Language/index.html" rel="nofollow">Swift</a> Support</li> <li>Added: <a href="https://doc.qt.io/qt-5/qtqml-syntax-basics.html" rel="nofollow">QML</a> Support</li> <li>Added: Prolog Support (simple)</li> <li>Added: Bootstrap4 Theme</li> <li>Added: Dracula Theme (dark, following <a href="https://draculatheme.com/" rel="nofollow">draculatheme</a> colors)</li> <li>Added: Monokai Theme (dark)</li> <li>Removed: Lighter.js legacy themes (Git, Mocha, MooTools, Panic, Tutti, Twilight)</li> <li>Removed: most keyword lists from language files (direct regular expressions are used)</li> </ul> AndiDittrich tag:github.com,2008:Repository/9325738/v3.0.0-RC2 2019-02-16T22:29:43Z LESS Themes with a bunch of magic <ul> <li>Added: <code>text-overflow: scroll</code> option</li> <li>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</li> </ul> AndiDittrich tag:github.com,2008:Repository/9325738/v2.13.0 2018-12-29T08:28:18Z v2.13.0 <p>release</p> AndiDittrich tag:github.com,2008:Repository/9325738/v3.0.0-RC1 2018-07-24T13:53:28Z Re-Created from Scratch - The whole systems architecture has been changed <ul> <li>License changed to <strong>Mozilla Public License 2.0</strong></li> <li>Replaced MooTools Framework by native code - requires IE &gt;= 10</li> <li><strong>NEW Highlighting Engines</strong> - every language support file has been rewritten</li> <li><a href="http://gulpjs.com/" rel="nofollow">Gulp</a> based build-system</li> <li>ES6 Syntax using <a href="http://babeljs.io/" rel="nofollow">babeljs</a> as transpiler</li> <li>Library is build and optimized with <a href="https://rollupjs.org/" rel="nofollow">rollup.js</a></li> <li>UI components build with <a href="https://reactjs.org/docs/introducing-jsx.html" rel="nofollow">jsx</a> - but without native react</li> <li>All Themes are transformed to <a href="http://lesscss.org" rel="nofollow">LESS</a></li> <li>New Tokenizer Engine including a two stage analyzer</li> <li>Excessive Performance Optimizations</li> <li>The complete javascript code is capsuled within a closure and is only exposed by the <code>window.EnlighterJS</code> object</li> <li>Highlighting can be removed at any time (elements will be removed from DOM)</li> <li>Removed the last pieces of Lighter.js codebase</li> </ul> <p><strong>New/Deprecated Features</strong></p> <ul> <li>Added jQuery (jQuery.fn.x) <code>enlight()</code> extensions</li> <li>Added: ECMA6 Support to Javascript Engine</li> <li>Added: Copy to clipboard button</li> <li>Added: <a href="http://docs.ansible.com/ansible/YAMLSyntax.html" rel="nofollow">YAML</a> Support</li> <li>Added: <a href="https://kotlinlang.org" rel="nofollow">Kotlin</a> support</li> <li>Added: <a href="https://www.typescriptlang.org/" rel="nofollow">TypeScript</a> support</li> <li>Added: <a href="http://groovy-lang.org" rel="nofollow">Groovy</a> support</li> <li>Added: <a href="http://lesscss.org/" rel="nofollow">LESS</a> Support</li> <li>Added: <a href="http://sass-lang.com/" rel="nofollow">SASS/SCSS</a> Support</li> <li>Added: <a href="https://docs.docker.com/engine/reference/builder/" rel="nofollow">Dockerfile</a> Support</li> <li>Added: <a href="http://www.w3schools.com/css/css3_intro.asp" rel="nofollow">CSS Level3</a> Support</li> <li>Added: <a href="https://msdn.microsoft.com/en-us/powershell/mt173057.aspx" rel="nofollow">Powershell</a> Support</li> <li>Added: <a href="https://msdn.microsoft.com/de-de/library/2x7h1hfk.aspx" rel="nofollow">VisualBasic NET/Classic</a> Support</li> <li>Added: <a href="https://developer.apple.com/library/prerelease/content/documentation/Swift/Conceptual/Swift_Programming_Language/index.html" rel="nofollow">Swift</a> Support</li> <li>Added: Prolog Support (simple)</li> <li>Added: Bootstrap4 Theme</li> <li>Added: Dracula Theme (dark, following <a href="https://draculatheme.com/" rel="nofollow">draculatheme</a> colors)</li> <li>Removed: Lighter.js legacy themes (Git, Mocha, MooTools, Panic, Tutti, Twilight)</li> <li>Removed: most keyword lists from language files (direct regular expressions are used)</li> </ul> AndiDittrich tag:github.com,2008:Repository/9325738/v2.12.0 2018-05-16T07:02:36Z MSDOS support. Bugfixes. Build System Update <ul> <li>Added: <code>msdos</code> support - thanks to <a href="https://github.com/EnlighterJS/EnlighterJS/pull/33/commits">audioscavenger on GitHub</a></li> <li>Bugfix: misspelled css attribute <code>padding</code> in droide theme - thanks to <a href="https://wordpress.org/support/topic/paddding-does-not-exist/" rel="nofollow">audioscavenger on WordPress.org</a></li> <li>Changed: modified legacy build process to run with local npm modules</li> </ul> AndiDittrich