Modern, lightweight syntax highlighter for WordPress using Highlight.js
Alternatives to Code Prettify
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.
Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)
The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.
Beautiful syntax highlighting for WordPress: 40+ languages, copy buttons, line numbers, line wrapping, collapse and a dark or light theme.
Reincarnation of Crayon Syntax Highlighter. Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, or post text.
Add syntax highlighting to WordPress code editors using CodeMirror.js
Enhances WordPress code blocks with line numbers, copy functionality, automatic syntax highlighting, and light or dark themes.
This plugin allows you very simply syntax highlight source code in your content using highlight.js or google-code-prettify libraries.
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.