Title: 代码高亮
Author: 紫茉莉.ME
Published: <strong>Favrer 5, 2025</strong>
Last modified: December 7, 2025

---

Search plugins

![](https://ps.w.org/zml-paint/assets/banner-772x250.png?rev=3422950)

![](https://ps.w.org/zml-paint/assets/icon.svg?rev=3367223)

# 代码高亮

 By [紫茉莉.ME](https://profiles.wordpress.org/zimoli/)

[Telechargiada](https://downloads.wordpress.org/plugin/zml-paint.3.1.0.zip)

 * [Details](https://roh.wordpress.org/plugins/zml-paint/#description)
 * [Reviews](https://roh.wordpress.org/plugins/zml-paint/#reviews)
 *  [Installation](https://roh.wordpress.org/plugins/zml-paint/#installation)
 * [Development](https://roh.wordpress.org/plugins/zml-paint/#developers)

 [Support](https://wordpress.org/support/plugin/zml-paint/)

## Descripziun

**紫茉莉-代码高亮，基于 SyntaxHighlighter 的代码高亮插件。**

为 WordPress 提供代码语法着色高亮显示功能，兼容经典、TINYMCE、古腾堡编辑器，具有
多个前端主题，支持30余种语言代码高亮。
 提供可视化的代码输入窗，不需要手工修改代码，
只需复制粘贴即可。前端提供八种代码高亮主题，采用自动加载模式，文章中包含代码时会
根据代码类型自动加载对应语言配置文件，减少了不必要的文件加载。

## Maletgs dal visur

 * [[
 * 前端代码高亮主题。
 * [[
 * 经典编辑器代码输入界面。
 * [[
 * 古腾堡编辑器代码输入界面。
 * [[
 * 基本设置页面。
 * [[
 * 显示设置页面。
 * [[
 * 高级设置页面。

## Blocks

This plugin provides 1 block.

 *   代码高亮

## Installaziun

#### 插件需求

 * PHP 7.3 及以后版本。
 * WordPress 5.6 及以后版本。
 * 推荐使用最新的 PHP 和 WordPress 版本。

#### 插件设置

 * 插件启用后请立即前往设置页面设置参数并保存，以保证插件正常运行。

## FAQ

### 安装后无法正常工作

代码高亮所需要的部分文件需要根据选项设置生成，安装完插件后需要先更改设置或直接保存
一下选项数据。

### 支持评论代码高亮吗

考虑到一般很少在评论中书写代码，对评论的代码高亮没有启用。

### 会加载很多文件吗

采用自动加载模式，会自动加载对应语言配置文件，无代码时不会加载相关文件。

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“代码高亮” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ 紫茉莉.ME ](https://profiles.wordpress.org/zimoli/)

[Translate “代码高亮” into your language.](https://translate.wordpress.org/projects/wp-plugins/zml-paint)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/zml-paint/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/zml-paint/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/zml-paint/) by [RSS](https://plugins.trac.wordpress.org/log/zml-paint/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.1.0

 * 调整设置选项页。
 * 修复错误。

#### 3.0.0

 * 插件重构。
 * 修复错误。
 * 精简文件和内容。

#### 2.1.1

 * 统一不同编辑器下按钮图标。
 * 优化部分代码。

#### 2.1.0

 * 更改名称显示方式。

#### 2.0.0

 * 修正插件显示名称。
 * 更改菜单显示方式。
 * 更改插件加载流程。

#### 1.0.1

 * 兼容性测试更新。

#### 1.0.0

 * 正式版发布。
 * 修复安全问题。
 * 修正在新版古腾堡编辑器下加载错误问题。

## Meta

 *  Version **3.1.0**
 *  Last updated **avant 4 mais**
 *  Active installations **10+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.3 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/zml-paint/)
 * Tags
 * [紫茉莉](https://roh.wordpress.org/plugins/tags/%e7%b4%ab%e8%8c%89%e8%8e%89/)
   [Highlight](https://roh.wordpress.org/plugins/tags/highlight/)[zimoli](https://roh.wordpress.org/plugins/tags/zimoli/)
   [代码高亮](https://roh.wordpress.org/plugins/tags/%e4%bb%a3%e7%a0%81%e9%ab%98%e4%ba%ae/)
 *  [Advanced View](https://roh.wordpress.org/plugins/zml-paint/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/zml-paint/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/zml-paint/reviews/)

## Contributors

 *   [ 紫茉莉.ME ](https://profiles.wordpress.org/zimoli/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/zml-paint/)

## Dar

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.zimoli.me)