Enlighter β Customizable Syntax Highlighter
Enlighter is a free, easy-to-use, syntax highlighting tool for WordPress. Highlighting is powered by the EnlighterJS javascript library to provide a beautiful code-appearance.
Using it can be as simple as adding a new Enlighter Sourcecode block (Gutenberg) and insert the code which you want to highlight: Enlighter takes care of the rest!
An easy to use Theme-Customizer is included to modify the build-in themes without any css knowlegde!
It also supports the automatic creation of tab-panes to display code-groups together (useful for multi-language examples β e.g. html+css+js)
- Upgrade Guide for Enlighter v4
- Theme Compatibility
- Enlighter WordPress Plugin Docs
Plugin Features
- Full Gutenberg Editor Integration
- Full Classic Editor Integration (TinyMCE)
- Support for all common used languages
- Powerful generic highlighting engine for unknown/unsupported languages
- Theme Customizer
- Inline Syntax Highlighting
- Advanced configuration options are available within the options page.
- Supports code-groups (displays multiple code-blocks within a tab-pane)
- Extensible language and theme engines β add your own one.
- Simple CSS based themes
- Integrated CSS file caching (suitable for high traffic sites)
- Full GDPR compliant β no external resources are required, no data will be aggregated
Gutenberg Editor Integration
- Full Editor Integration via βEnlighter Sourcecodeβ block
- Inline Syntax Highlighting
- Automatic transformations for classic editor posts (codeblocks converted to Enlighter Sourcecode block)
- Transform legacy codeblocks to Enlighter Gutenberg Blocks (manual transformation)
- Docs and Usage
- Editor plugin repository
Classic Editor (TinyMCE) Integration
- Full Editor Integration via Enlighter buttons in the toolbar
- Inline Syntax Highlighting
- Tab-Indentation mode to align code with the
tabkey (single line and block selection) - Editor formats to highlight existing code
- Docs and Usage
- Editor plugin repository
- Classic Editor Live-Demo
Markdown
- Markdown fenced code blocks
- Inline Syntax Highlighting via backtick code (including language specific addon)
- Docs and Usage
Compatibility/Migration
- Crayon compatibility mode (use EnlighterJS highlighting for legacy Crayon
precodeblocks) - CodeColorer compatibility mode (use EnlighterJS highlighting for legacy CodeColorer shortcodes)
- Jetpack markdown compatibility mode (generic or raw highlighting)
- Gutenberg standard codeblock compatibility mode (no language attributes)
Extensions
- bbPress shortcode + markdown code blocks support
- Dynamic Content via
jQuery Ajax.load - Dynamic Content via
Jetpack.InfiniteScroll
Texteditor/Shortcodes (Legacy)
Shortcodes are deprecated and should be used in text editor mode only β never use them within Gutenberg Editor or Classic Editor!
- Easy to use Text-Editor mode through the use of Shortcodes and QuickTags
- Shortcodes within content, comments and widgets
- Standalone Shortcode-Processor to avoid wpautop filter issues in Text-Editor Mode
Supported Languages (build-in)
In case your language is not available try the Generic Mode which covers a lot of programming languages β or request a new language on GitHub
Related Links
Compatibility
All modern webbrowsers with enabled Javascript and HTML5 capabilities for βdata-β attributes are compatible with Enlighter. Itβs possible that it may work with earlier/other browsers.
- Chrome 60+
- Firefox 60+
- Safari 11+
- Edge Browser 10+
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| d*e*o*o*a*e.net (WP 6.9.4) | F | Jun 15, 2026 | |
| v*r*t*k*i*.n*t.tr (WP 6.9.4) | B | Jun 15, 2026 | |
| s*m*l*-*a.ru (WP 7.0) | F | Jun 15, 2026 | |
| w*z*i.pl (WP 6.9.4) | F | Jun 15, 2026 | |
| s*l*m*a.ru (WP 6.1.1) | F | Jun 15, 2026 | |
| t*i*k*r*c*s.net (WP 4.9.9) | F | Jun 15, 2026 | |
| d*e*r*c*r*i*n.com | F | Jun 15, 2026 | |
| g*o*d*y*u.pl (WP 6.9.1) | F | Jun 14, 2026 | |
| q*i*.pt (WP 7.0) | F | Jun 14, 2026 | |
| m*d*a*t*c*p*r*.de (WP 7.0) | B | Jun 14, 2026 | |
| p*v*l*i*e*e*.cz (WP 5.9.13) | F | Jun 14, 2026 | |
| u*l*.info (WP 6.9.1) | D | Jun 14, 2026 | |
| o*t*a.website (WP 6.9.4) | F | Jun 14, 2026 | |
| c*y*t*c*t*b*o*.com | F | Jun 14, 2026 | |
| p*c*r*j*c*s.org (WP 6.7.5) | F | Jun 14, 2026 | |
| i*j*s*e*.it | A | Jun 14, 2026 | |
| w*c*s.ru | D | Jun 14, 2026 | |
| n*r*n*.org (WP 7.0) | F | Jun 14, 2026 | |
| t*e*e*o*.vn (WP 7.0) | F | Jun 13, 2026 | |
| b*s*i*n*k*h*.de (WP 6.9.4) | F | Jun 13, 2026 | |
| t*s*.org (WP 4.8.28) | F | Jun 13, 2026 | |
| t*p*3*o*x.eu (WP 6.6.2) | F | Jun 13, 2026 | |
| r*b*a*n*d.com (WP 6.8.1) | F | Jun 13, 2026 | |
| c*m*o*s.ru | F | Jun 13, 2026 | |
| b*t*g*t*.io (WP 6.6.5) | F | Jun 13, 2026 | |
| n*t*p*b.io (WP 6.0) | F | Jun 13, 2026 | |
| m*s*d*e*d*n.eu (WP 7.0) | F | Jun 13, 2026 | |
| k*f*.cc (WP 7.0) | B | Jun 13, 2026 | |
| y*n*o*.jp (WP 7.0) | F | Jun 13, 2026 | |
| e*e*t*i*.io (WP 7.0) | F | Jun 13, 2026 | |
| 1*1*8*.xyz | A | Jun 13, 2026 | |
| w*b*l*c*g*.c*.uk (WP 6.9.4) | C | Jun 13, 2026 | |
| r*l*n*k.net (WP 6.9.4) | F | Jun 13, 2026 | |
| s*s*.ar (WP 6.9.4) | F | Jun 13, 2026 | |
| i*-*j*s*n.tokyo (WP 5.7.15) | F | Jun 13, 2026 | |
| a*u*b*s*.de | D | Jun 13, 2026 | |
| s*a*l*.lv (WP 6.9.4) | B | Jun 13, 2026 |