Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.
Alternatives to Code Block – share beautiful code snippets readers can copy
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.
Beautiful syntax highlighting for WordPress: 40+ languages, copy buttons, line numbers, line wrapping, collapse and a dark or light theme.
Modern, lightweight syntax highlighter for WordPress using Highlight.js
Code block with syntax highlighting for gutenberg editor.
Extends the core Code block with language selection (Prism.js) and a configurable copy button.
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.
The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.
A block suite for developer documentation: syntax-highlighted code snippets plus a full set of API-documentation blocks. Website | Documentation | See …
Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus an optional server-side highlighting mode.
Syntax highlighting and a copy-to-clipboard button for the native WordPress Code block, plus a language picker in the editor sidebar.