
EnlighterJS Features:
- Select between multiple themes to highlight code
- Optional custom theme builder (based on default theme)
- Highlight all popular programming languages
- Embed code snippets as single element or auto-group multiple snippets in a tab layout
- Show/Hide line numbers
- Highlight individual lines
- Apply line offset (start with any line number)
- Toggle between highlighted and raw code via simple double click
- Fast rendering
ENLIGHTERJS – SUMMARY
EASILY HIGHLIGHT AND FORMAT CODE SNIPPETS
Syntax Languages:
- Generic (Default)
- HTML
- XML
- JavaScript
- jQuery
- MooTools
- CSS
- C
- C++ (CPP)
- C# (CSharp)
- Cython
- General Assembly
- Java
- JSON
- LESS
- LUA
- Python
- Ruby
- MarkDown
- PHP
- Shell Script
- Squirrel
- SQL
- NSIS
- DIFF
- Rust
- VHDL
- Matlab
- Ini / Cong Syntax
- AVR Assember
- RAW
- No Highlight
Syntax Themes:
- Enlighter (Default)
- Classic
- Godzilla
- MooTwo
- Eclipse
- Beyond
- Droide
- GitHub
- Mocha
- MooTools
- Panic
- Tutti
- Twilight
- Atomic
- Minimal
- Rowhammer
- Custom
MooTools Library:
Usage of MooTools Library
The underlying syntax highlighter depends on the MooTools Javascript library, which will therefore be loaded on all pages that use the syntax highlighter element. MooTools is a “competing” library to the standard jQuery library WordPress is already loading.
In order to avoid conflicts between both libraries, MooTools is loaded in its compatibility mode. Provided all other scripts on your site are programmed according to industry standards and utilize the appropriate wrapper, there should be no conflicts when using both libraries on the same page.