The "Light Code Block" plugin is the simplest and lightest plugin for inserting and displaying code.
Alternatives to Pastacode
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)
Modern, lightweight syntax highlighter for WordPress using Highlight.js
Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.
Code highlighting powered by the VS Code engine. Performance focused. No bloat.
Code block with syntax highlighting for gutenberg editor.
Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus an optional server-side highlighting mode.
Create syntax-highlighted, copy-ready code snippets in Gutenberg with responsive layouts, themes, and shortcode support.
Enhances WordPress code blocks with line numbers, copy functionality, automatic syntax highlighting, and light or dark themes.