Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus an optional server-side highlighting mode.
Alternatives to AH Code Highlighter
Plugins below are selected for functional relevance and current directory signals. Active-install counts do not affect this ranking.
WordPress plugins with similar use cases
Compatibility and update metadata provide context, not a quality guarantee. Review each plugin’s details for your site.
The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.
Modern, lightweight syntax highlighter for WordPress using Highlight.js
Reincarnation of Crayon Syntax Highlighter. Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, or post text.
A plugin to easily present source code on your site with syntax highlighting and formatting (as seen in code editors, IDEs).
Add syntax highlighting to WordPress code editors using CodeMirror.js
Lightweight syntax highlighter with code blocks, line numbers, copy-to-clipboard, and 35+ themes. A fast, free alternative to Prism for WordPress.
Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.
Code block with syntax highlighting for gutenberg editor.
Beautiful syntax highlighting for WordPress: 40+ languages, copy buttons, line numbers, line wrapping, collapse and a dark or light theme.