HTML Editor Syntax Highlighter

plugin banner

Add syntax highlighting to the HTML editor.

Author:Peter Mukhortov (profile at wordpress.org)
WordPress version required:6.5
WordPress version tested:7.1.5
Plugin version:3.0.0
Added to WordPress repository:18-04-2012
Last updated:08-11-2026
Rating, %:88
Rated by:110
Plugin URI:https://wordpress.org/plugins/html-editor-syn...
Total downloads:634 346
Active installs:60 000+
plugin download
Click to start download

Add syntax highlighting to the Classic editor’s Text (Code) tab and the block editor’s Code Editor using CodeMirror 6. HTML, inline CSS and JavaScript, and WordPress shortcodes are all highlighted.

Features

  • Syntax highlighting in the Classic editor’s Text (Code) tab for posts and pages
  • Syntax highlighting in the block editor’s Code Editor (not the Visual Editor)
  • Syntax highlighting for WordPress [shortcodes], [[escaped]] shortcodes and <!--more--> tags
  • Search and replace, code folding, bracket and tag matching, auto-closing tags and brackets
  • Default, VS Code, Vim and Emacs key bindings
  • Save your posts and pages by pressing Ctrl+S (Cmd+S on Mac)
  • Restores the cursor position after the page reloads
  • 13 themes and other settings, saved for each user
  • Fullscreen mode in the Classic editor: toggle with F11/Esc

If you would like to contribute to this plugin, view the github repo.


Screenshots
FAQ
ChangeLog