Modern, lightweight syntax highlighter for WordPress using Highlight.js
Alternatives to WP SyntaxHighlighter
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.
The "Light Code Block" plugin is the simplest and lightest plugin for inserting and displaying code.
Use Pastacode to add code into your posts with the awesome PrismJs coloration library. So, past'a code!
The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.
Enhances WordPress code blocks with line numbers, copy functionality, automatic syntax highlighting, and light or dark themes.
Lightweight syntax highlighter with code blocks, line numbers, copy-to-clipboard, and 35+ themes. A fast, free alternative to Prism for WordPress.
A plugin to easily present source code on your site with syntax highlighting and formatting (as seen in code editors, IDEs).
All-in-one Syntax Highlighting solution. Full Gutenberg and Classic Editor integration. Graphical theme customizer. Based on EnlighterJS.