BACK TO DIRECTORY

Code Prettify

by volca

5.0
(18 ratings)

Uses a customized version of the Code Prettify library to support local styles and scripts. Plugin applies code highlighting automatically to all <pre> tags on the page.

Compatible with Gutenberg and doesn’t lock you in with specific markup requirements.

Development

Plugin development on GitHub.

Release verification

Every release since 1.5.2 embeds a checksums manifest (checksums.json, bundled inside the plugin) signed with an Ed25519 key whose public part is:

ahCXGA0hozzxgvg+GjQ08HgCMCykMs+sKaXYqbMdGVU=

Verify an installed copy or a downloaded ZIP with npx @wpelevator/wp-release verify <directory-or-zip> --public-key 'ahCXGA0hozzxgvg+GjQ08HgCMCykMs+sKaXYqbMdGVU=': the embedded manifest is found and authenticated automatically. GitHub releases also attach a detached signature for the ZIP itself.

Credits

Created and maintained by Kaspars Dambis. All of my open source work is available on GitHub.

Use Contact Form 7? Storage for Contact Form 7 is my commercial plugin (GPL license) for storing all form submissions in your WordPress database.

Cover photo by Yuri Samoilov

Screenshots

Syntax highlighting applied to a &lt;pre&gt; block and inline &lt;code&gt; segments.

Syntax highlighting applied to a <pre> block and inline <code> segments.

Plugin Details

Active Installs
1K+
Total Downloads
49,377
Version
1.5.2
Requires WP
3.0
Requires PHP
—
Tested Up To
7.1.3
Added
2010-12-03
Last Updated
2026-10-13 2:05pm GMT

Ratings

5
18
4
0
3
0
2
0
1
0