The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.
Alternatives to Awesome Code Highlighting
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.
Adds modern syntax highlighting to WordPress's standard code block using the robust highlight.js library.
Create syntax-highlighted, copy-ready code snippets in Gutenberg with responsive layouts, themes, and shortcode support.
Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)
Modern, lightweight syntax highlighter for WordPress using Highlight.js
Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.
Write Markdown in Elementor and convert it into editable widgets with syntax-highlighted code blocks.
100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.
A Gutenberg block for syntax-higlighted code.