PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Block
  4. PrettyCode • Code syntax highlighting…
PrettyCode • Code syntax highlighting with CodeMirror icon

PrettyCode • Code syntax highlighting with CodeMirror

A simple block to highlight code with 20+ languages and 50+ themes, for the WordPress editor.

By maximebj·Block·Free
5(2 reviews)
·100 active installs·Updated 4 years ago
DownloadCompare

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….

5/52 reviews
100active installs
2.3K+total downloads
4 yearssince 2022

Overview

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.

Third Party

This plugins uses some third party libraries:

  • WordPress create-block by gziolo – https://www.npmjs.com/package/@wordpress/create-block
  • CodeMirror – https://github.com/codemirror/CodeMirror
  • react-codemirror2 by scniro – https://github.com…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

52 reviews
5 ★
2
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress5.8+ requiredTested up to 5.9.13
PHP7.0+ required

Top Alternatives to PrettyCode • Code syntax highlighting…

Spectra Gutenberg Blocks – Website Builder for the Block Editor icon
Spectra Gutenberg Blocks – Website…
4.71.0M+ installsUpdated 5 days ago
ViewCompare
Breadcrumb NavXT icon
Breadcrumb NavXT
4.6800K+ installsUpdated 3 months ago
ViewCompare
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE icon
Otter Blocks – Gutenberg Blocks, Page…
4.7300K+ installsUpdated 4 days ago
ViewCompare
PDF Embedder icon
PDF Embedder
4.7300K+ installsUpdated 3 months ago
ViewCompare
WP Go Maps (formerly WP Google Maps) icon
WP Go Maps (formerly WP Google Maps)
4.8300K+ installsUpdated 2 weeks ago
ViewCompare
View all block plugins →

Frequently Asked Questions

Changelog

1.0.7

  • Fixed code editor line height
View full changelog on WordPress.org

Contributors

maximebjmaximebj
Plugin Info
Version
1.0.7
Last Updated
Mar 11, 2022
WP Requires
5.8+
Tested Up To
5.9.13
PHP Requires
7.0+
Active Installs
100
Downloads
2.3K+
Added
Mar 8, 2022
Business
Free

Tags

block

Developer

M
maximebj
3 plugins0.0M+ total installs
View all plugins →

Quick Compare

PrettyCode • Code syntax highlighting… vs Spectra Gutenberg Blocks – Website…→PrettyCode • Code syntax highlighting… vs Breadcrumb NavXT→PrettyCode • Code syntax highlighting… vs Otter Blocks – Gutenberg Blocks, Page…→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.