HTML Editor Syntax Highlighter
Description
Add syntax highlighting in the Classic Post and Page HTML text editor, Gutenberg Code Editor, and Theme and Plugin editors using CodeMirror.js.
This plugin features syntax highlighting in the Post/Page HTML editor, the Gutenberg Code Editor (not the Visual Editor), and the Theme and Plugin editors. It also provides syntax highlighting for WordPress shortcodes, allows saving posts and pages with Ctrl+S (Cmd+S on Mac), and restores cursor position after the page is reloaded.
Customize your experience with a huge selection of themes and other options. Fullscreen mode can be toggled with F11 or Esc hotkeys.
Other Notable Features
Here are a few other notable features of this free HTML Editor Syntax Highlighter plugin.
Screenshots
FAQ
Yes! Partially… Since version 2.3.0, it works with the Gutenberg Code Editor, but only the Code Editor, not the Visual Editor. Press Ctrl+Shift+Alt+M / Cmd+Shift+Alt+M to switch between the Visual Editor and the Code Editor.
It does not work with blocks in the Gutenberg Visual Editor. This means it does not highlight code in:
* The Edit as HTML section of every block
* The Custom HTML block
* The Shortcode block
See the last screenshot for a visual example.
It may work with other code related parts of Gutenberg in the future. Track the progress here.
Contributors and developers
“HTML Editor Syntax Highlighter” is open source software. The following people have contributed to this plugin.
WPS
7.16
Very Good
Ratings
4.4 out of 5 | 110Version
2.4.4Last updated
1 year agoActive installations
50,000+WordPress version
6.5.0 or higherPHP version
or higherLanguages
7Tags
Code Coloring,Code Highlighter,Codemirror,Syntax Highlighter,Text EditorOther plugins you might like
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
By Syed Balkhi
WPS
7.51
Very Good
1.8k+reviews
active installation
Tested with
6.9.4Redux Framework
By David Anderson / Team Updraft
WPS
6.99
Average
272+reviews
active installation
Tested with
6.9.4Code Snippets
By Code Snippets Pro
WPS
7.3
Very Good
494+reviews
active installation
Tested with
6.9.4Meta Box
By Meta Box
WPS
7.02
Very Good
161+reviews
active installation
Tested with
6.9.4CMB2
By Justin Sternberg
WPS
6.98
Average
91+reviews
active installation
Tested with
6.4.8PHP Compatibility Checker
By WP Engine
WPS
6.77
Average
131+reviews
active installation
Tested with
6.4.8