WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Enlighter - Customizable Syntax Highlighter

Simple post syntax-highlighted code using the EnlighterJS MooTools Plugin.

2.3

  • Added Tab / Tab-Shift keyhandler to re-indent code within an Enlighter-Codeblock (the tabfocus plugin will be deactivated! - you can't use the tab key anymore to leave the editor window)

2.2

  • Added "Code Insert Dialog" to avoid copy-auto-formatting issues - feature requested on WordPress Forums
  • Added "Enlighter Settings Button" to control the Enlighter Settings (highlight, show-linenumbers, ..) directly from the Visual-Editor - just click into a codeblock and the button will appear (requires WordPress >=3.9)
  • Added Enlighter Toolbar Menu-Buttons
  • New Visual-Editor integration style
  • Bugfix: Added missing codeblock-name for "C#"

2.1

  • Added EnlighterJS 2.2
  • Added language support for C# (csharp) provided by Joshua Maag
  • Bugfix: Indentation of first line got lost - thanks to cdonts

2.0

  • Added EnlighterJS 2.1
  • Added Inline-Syntax-Highlighting
  • Added new Theme "Enlighter"
  • Added Inline-Highlighting support to the Visual-Editor
  • Added setting "Show Linenumbers"
  • Added shortcode attribute "linenumbers" the force the visibility for each codeblock - feature requested on GitHub
  • Added shortcode attribute "offset" to set the start-index of line-number-counting - feature requested on WordPress Forums
  • Added Inline-CSS-Selector setting
  • Added an optional "raw-code-button" as well as customization options for the appearing Raw-Code-Panel
  • Added build-script to generate Theme-Templates required by the ThemeCustomizer directly from the CSS files
  • Added seperate token settings for "font-style" and "font-weight"
  • Improved Theme-Generator: only one CSS file is included instead of two
  • Moved option "Language Shortcodes" to "Advanced Options"
  • Removed setting "Output-Style" (replaced by Show-Linenumbers)
  • Removed waste Theme-Customizer setting "Line Number Styles -> Line height"
  • Bugfix: "Loading Theme Style" doesn't set "text-decoration" corretly

1.8

  • Added: Visual-Editor (TinyMCE) Integration (optionally - you can turn it off on the settings page)
  • Added: Serbo-Croatian Translation sr_RS (Thank`s to Borisa Djuraskovic from webhostinghub.com)
  • Bugfix: Visual-Editor integration will avoid auto-whitespace-removing issues
  • Improved: Added new Screenshots

1.7

  • Added: Environment Pre-Check (PHP 5.3 requirement!)

1.6

  • Added: Support for new WordPress 3.8 UI design
  • Added: CDNJS Service (Cloudfare) as CDN provider for MooTools @see http://cdnjs.com/
  • Added: I18n (Internationalization) support (settings page)
  • Added: I18n generation tools
  • Added: POT file for additional translations
  • Added: German translation (de_DE)
  • PHP Namespaces used to isolate plugin (PHP >= 5.3 required!)
  • Improved Plugin backend structure
  • Changed: Admin CSS+JS files are moved to resources/admin/
  • Changed: Replaced table layout of settings page
  • Bugfix: "Load Theme styles" selects wrong items as default style
  • Bugfix: ColorPicker elements doesn't get initialized

1.5

  • Bugfix: The plugin now modifies the priotiry of wpautop filter to avoid unrequested linebreaks (optionally - you can turn it off on the settings page) @see https://github.com/AndiDittrich/WordPress.Enlighter/issues/2 - thanks to ankitpokhrel
  • Added EnlighterJS 1.8
  • Added line based marking to point special lines - just add the attribute highlight="1,2-5,9" to the shortcode to mark line 1,2,3,4,5,9. The line-color is configurable within the ThemeCustomizer - feature requested on WordPress.org Forum
  • Added the ability to set custom hover colors within the ThemeCustomizer as well as custom line highlighting colors
  • Improved settings page, new design

1.4

1.3

  • Bugfix: CSS Selector got ignored when using metadata-based initialization (all "pre"-tags are highlighted)
  • Added EnlighterJS 1.6
  • Added "RAW" language - code is not highlighted/parsed

1.2

  • Added EnlighterJS 1.5.1
  • Added language support for NSIS (Nullsoft Scriptable Install System)

1.1

  • First public release
  • Includes EnligherJS 1.4

Requires: 3.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-6
Downloads: 4,289

Ratings

4 stars
4.3 out of 5 stars

Support

2 of 4 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1