跳到内容

Code Prettify

v1.5.2

volca · 2010年12月3日 上架

100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.

正在使用
1,000+
评分
5.0 / 5
累计下载
5.1 万
最近更新
2026年10月13日
18 条评价需要 WordPress 3.0+已测试到 7.1.5

贡献者

截图

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

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums