Simple post syntax-highlighted code using the EnlighterJS MooTools Plugin.
You have to enable the full toolbar by clicking on the Show/Hide Kitchen Sink button (last icon on the toolbar)
The use of Shortcode is only recommended when working in Text-Mode. By switching to the Visual-Editor-Mode whitespaces (linebreaks, indents, ..) within the shortcode will get removed by the editor - using Visual-Editor mode will avoid such problems.
To enable the Theme-Customizer you have to select the theme named Custom as default theme. The Theme-Customizer will appear immediately.
Yes! since version 1.5 all shortcodes support the attribute
Shortcode Example: highlight the lines 2,3,4,8 of the codeblock
[js highlight="2-4,8"]....some code..[/js]
The complete EnlighterJS project can be found on GitHub
Yes you can! - The simplest way is to download the EnlighterJS CSS sources and modify the standard theme (Sources/Themes/Standard.css). On the Enlighter options page you have to select the theme standard and disable the automatic inclusion of the enlighter css files. Finally you have to include the modified css files on you own.
If you are already using MooTools on your page, you have to disable the automatic inclusion of MooTools by Enlighter. Goto the Enlighter options page -> Advanced and select "Not include" as MooTools source. Note: EnlighterJS requires MooTools > 1.4
The W3C Validator will throw an warning when using metadata based config as initialization method, because of the unknown metatag-name EnlighterJS. To avoid this warning you can select Script based config on the
Well..write a email to Andi Dittrich (andi DOT dittrich AT a3non DOT org) or open a New Issue on GitHub
Requires: 3.5 or higher
Compatible up to: 3.8.3
Last Updated: 2014-2-13
2 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?