The "Light Code Block" plugin is the simplest and lightest plugin for inserting and displaying code.
Alternatives to HTML Block with 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.
Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)
Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus an optional server-side highlighting mode.
All-in-one Syntax Highlighting solution. Full Gutenberg and Classic Editor integration. Graphical theme customizer. Based on EnlighterJS.
Code block with syntax highlighting for gutenberg editor.
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.
A block suite for developer documentation: syntax-highlighted code snippets plus a full set of API-documentation blocks. Website | Documentation | See …
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.
A Gutenberg block for syntax-higlighted code.