27 April, 2013

EnlighterJS 1.2


Developer:

Website:

License / Price:

Platforms:

Databases:

Language:

Last Updated:

Category:
Andi Dittrich | More scripts
mootools.net
MIT License 

Windows / Linux / Mac OS / BSD / Solaris
N/A
JavaScript
April 27th, 2013, 08:37 GMT [view history]
C: \ Text Management \ Text Tools

EnlighterJS is based on Lighter, the syntax highlighting plugin used on the official MooTools website.

It was forked from the original code to provide better support for the recent MooTools versions and add new themes and language highlighting schemes.

Demos for all the themes and supported programming languages are included with the download.

Here are some key features of "EnlighterJS":

· Small file size
· Supports themes
· Can be extended with new programming languages
· Tabbed panels (multiple languages in the same container)
· Cross-browser tested

Supported languages:
· HTML
· JavaScript
· CSS
· Markdown
· Ruby
· PHP
· SQL
· C++
· C
· Java
· XML
· Shellscript

Requirements:

· JavaScript enabled on client side
· MooTools 1.4.5 or higher

What's New in This Release: [ read full changelog ]

· Replaced Compiler.Inline with a new version (full DOM based handling)
· Replaced Compiler.List with a new version (full DOM based handling)
· Removed the Compiler.Lines (it does exactly the same as Compiler.List, but used div-elements)
· Fixed rendering bug within html-comments (specialchars didn't got replaced - solved by new compilers)
· Moved all subclasses into EnlighterJS object-namespace
· Modified id-naming-scheme of generated output containers (old: Lighter_ + (new Date()); new: EnlighterJS_ + String.uniqueID())
· Added class EnlighterJSRendered to generated container
· Modiefied the css-classname for theming (old: Lighter; new: EnligherJS)
· Replaced all standard-themes with rewritten versions - now they are all extending the standard theme, only the colors differs
· Reduced the size of the css files to ~8kB
· Enhanced the css robustness


Download button
Via: EnlighterJS 1.2

0 Comment: