As of April 2026, PrettyCode • Code syntax highlighting with CodeMirror is a WordPress block plugin with 100 active installations and a 5/5 rating from 2 reviews. It has been downloaded 2.3K+ times in total. Requires WordPress 5.8+ and PHP 7.0+. Available on WordPress.org since 2022. Last updated 4 years ago — may have compatibility concerns. Top alternative: Spectra Gutenberg Blocks – Website….
The prettiest syntax highlighting block for the WordPress editor.
Live edit your code snippets in the admin with bracket matching, customize colors with more thant 50 themes (Base16, Monokai, Material, Zenburn, Hopscotch…).
Compatible with major languages: HTML, CSS, JS, JSX, Stylus, Sass, PHP, Python, C, C++, C#, Java, XML, Shell, JSON, Go, Swift…
This block uses CodeMirror. You may have seen this block before on the Advanced Gutenberg Blocks plugins few years ago. It’s now an updated and standalone block.
This plugins uses some third party libraries:
| WordPress | 5.8+ requiredTested up to 5.9.13 |
| PHP | 7.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.