PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Codemirror
  4. HTML Editor Syntax Highlighter
HTML Editor Syntax Highlighter icon

HTML Editor Syntax Highlighter

Add syntax highlighting to WordPress code editors using CodeMirror.js

By Peter Mukhortov·Codemirror·Free
4.4(110 reviews)
·50K+ active installs·Updated 2 years ago
DownloadCompare

As of April 2026, HTML Editor Syntax Highlighter is a WordPress Codemirror plugin with 50K+ active installations and a 4.4/5 rating from 110 reviews. It has been downloaded 590K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 2 years ago — may have compatibility concerns. Downloads are up 10% this week. Top alternative: Custom Header Footer Scripts for….

4.4/5110 reviews
50K+active installs
590K+total downloads
14 yearssince 2012

Overview

Add syntax highlighting in the Classic Post & Page HTML text editor, Gutenberg Code Editor, and Theme & Plugin editors using CodeMirror.js

Features

  • Syntax highlighting in the Post/Page HTML editor
  • NEW: Syntax highlighting in the Gutenberg Code Editor (not Visual Editor)
  • Syntax highlighting in the Theme & Plugin editors
  • Syntax highlighting for WordPress [shortcodes/]
  • Save your posts and pages pressing Ctrl+S (Cmd+S on Mac)
  • Restore cursor position after page is reloaded
  • Huge selection of themes and other customization options
  • Fullscreen mode: toggle with F11/Esc hotkeys

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

If you’re a regular user of this plugin, please consider taking a short User Experience Survey to provide feedback that will help shap…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.4110 reviews
5 ★
79
4 ★
14
3 ★
7
2 ★
5
1 ★
5

Recent Reviews

如何在前端文章页面也展示高亮代码效果
by xiaoxiewl·1 year ago·3 replies

这个代码高亮插件是我测试过效果最好的一个,但是只能在后台实现,如何在前端文章页面也使用高亮效果呢

It does its job very well
by Marco Panichi·2 years ago

In the era of Gutenberg and visual builders, as a good old programmer of the past, I need to edit HTML code in the showcase pages of the WordPress sites I create. This plugin is therefore a must-have for me. It works very well, it doesn’t have many options but all those necessary to configure the editing environment comfortable for me.

The fantastically useful plugin
by Alexander Guskov·4 years ago

The fantastical plugin that converts faceless TinyMCE to the powerful tool.
The only suggestion is to mark dark/light themes, please

Works, even on iOS/mobile
by FolioVision·4 years ago

HESH is built on top of Code Mirror which is first class code. The implementation is somewhat eclectic including a settings button in the front end which allows the user to really play with editor settings. Easy access to the settings is convenient at first and then a bit of a distraction.

HESH even highlights WordPress shortcodes [shortcode] syntax.

What HESH doesn’t have is Markdown syntax highlighting in the posts/pages plain text editor but the WordPress shortcodes and HTML highlighting helps make up for it.

What is buggy are the settings on iPhone (iOS 13.5) where the settings buttons more or less don’t work and the settings can’t be closed. If you don’t touch the settings though, HESH provides a better plain text editor than WordPress default (which can be very finicky to accept text entry). It remains easier to edit on iOS with HESH installed than without so no downnmarks here.

All in all a great plugin, a bit overwhelmed right now with legacy support for WordPress 4.9 editor, Classic Editor, Code view, plain text editor, Gutenberg and the sixteen different kinds of blocks which might need syntax highlighting. I can’t blame the plugin authors for not being on top of all editors all the time now in the current Gutenberg-induced editor hell.

Very, very grateful for their hard work and looking forward to HESH v3.

  • This topic was modified 4 years, 7 months ago by FolioVision.
Top Tier Plugin
by ximbor·4 years ago

Thank you for taking the time to create such an awesome plugin 🙂 lots of options of colours etc. Very good.

Download Trends

Today: 30Yesterday: 32This week: 240Period total: 17K

Compatibility

WordPress4.0+ requiredTested up to 6.5.0
PHPfalse+ required

Version Adoption

v2.4
97.0%
Other
3.0%

Top Alternatives to HTML Editor Syntax Highlighter

Custom Header Footer Scripts for Customizer icon
Custom Header Footer Scripts for…
52.0K+ installsUpdated 2 years ago
ViewCompare
CodeMirror Blocks icon
CodeMirror Blocks
52.0K+ installsUpdated 1 year ago
ViewCompare
HTML Widget icon
HTML Widget
4400 installsUpdated 8 years ago
ViewCompare
CodeMirror for CodeEditor icon
CodeMirror for CodeEditor
040 installsUpdated 14 years ago
ViewCompare
codefence.io icon
codefence.io
010 installsUpdated 5 years ago
ViewCompare
View all Codemirror plugins →

Frequently Asked Questions

Changelog

2.4.4

  • Added about 15 new themes
View full changelog on WordPress.org

Contributors

rraubrraubPeter MukhortovPeter MukhortovJames BradfordJames Bradfordcollinpricecollinprice
Plugin Info
Version
2.4.4
Last Updated
Mar 16, 2024
WP Requires
4.0+
Tested Up To
6.5.0
PHP Requires
false+
Active Installs
50K+
Downloads
590K+
Added
Apr 18, 2012
Business
Free

Tags

codemirrortext editorcode coloringcode highlightersyntax highlighter

Developer

P
Peter Mukhortov
1 plugins0.1M+ total installs
View all plugins →

Quick Compare

HTML Editor Syntax Highlighter vs Custom Header Footer Scripts for…→HTML Editor Syntax Highlighter vs CodeMirror Blocks→HTML Editor Syntax Highlighter vs HTML Widget→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.