Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)
Alternatives to Prettify For WordPress
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.
Extends the core Code block with language selection (Prism.js) and a configurable copy button.
Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus an optional server-side highlighting mode.
Djot markup language support for WordPress. A modern, cleaner alternative to Markdown.
Create syntax-highlighted, copy-ready code snippets in Gutenberg with responsive layouts, themes, and shortcode support.
Code block with syntax highlighting for gutenberg editor.
Write Markdown in Elementor and convert it into editable widgets with syntax-highlighted code blocks.
Enhanced Code block for Gutenberg with syntax highlighting, copy and share controls, and optional SoftwareSourceCode JSON-LD.
Adds modern syntax highlighting to WordPress's standard code block using the robust highlight.js library.
A Gutenberg block for syntax-higlighted code.