Loading...
banner plugin Image
woo-image

HTML Editor Syntax Highlighter

By Peter Mukhortov

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.

check-fill
Code Coloring
check-fill
Code Highlighter
check-fill
Codemirror
check-fill
Syntax Highlighter
check-fill
Text Editor

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
Exclamation-Image

7.35

Very Good

Star-Image

Ratings

4.4 out of 5 | 110
History-Image

Version

2.4.4
calendar-Image

Last updated

2 years ago
Star-Image

Active installations

50,000+
Star-Image

WordPress version

6.5.0 or higher
php-Image

PHP version

or higher
translate-Image

Languages

7

Tags

Code Coloring,Code Highlighter,Codemirror,Syntax Highlighter,Text Editor