
HTML Editor Syntax Highlighter
v3.0.0Peter Mukhortov · 2012年4月18日 上架
Syntax highlighting for the Classic editor's Text tab and the block editor's Code Editor, shortcodes included, using CodeMirror.
- 正在使用
- 6 万+
- 评分
- 4.4 / 5
- 累计下载
- 63 万
- 最近更新
- 2026年11月8日
110 条评价需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+
截图





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+Son 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.