Title: Annytab Code Prettify
Author: Fredrik Stigsson
Published: <strong>2020 年 7 月 24 日</strong>
Last modified: 2020 年 11 月 30 日

---

搜索插件

![](https://ps.w.org/annytab-code-prettify/assets/banner-772x250.png?rev=2345911)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/annytab-code-prettify/assets/icon-256x256.png?rev=2345911)

# Annytab Code Prettify

 作者：[Fredrik Stigsson](https://profiles.wordpress.org/annytab/)

[下载](https://downloads.wordpress.org/plugin/annytab-code-prettify.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/annytab-code-prettify/#description)
 * [评价](https://cn.wordpress.org/plugins/annytab-code-prettify/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/annytab-code-prettify/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/annytab-code-prettify/#developers)

 [支持](https://wordpress.org/support/plugin/annytab-code-prettify/)

## 描述

This plugin uses [Google Code Prettify](https://github.com/googlearchive/code-prettify)
with customized styling. This plugin uses the default skin, custom styling has been
applied to show line numbers and to prevent line-breaks. The wp-code-block is styled
by the theme (borders, background color and more), the contents of the pre-block
is styled by css in the plugin.

## 屏幕截图

[⌊Shows a prettified block of code, highlightings is applied to a <pre> block and
<code> segments.⌉⌊Shows a prettified block of code, highlightings is applied to 
a <pre> block and <code> segments.⌉[

Shows a prettified block of code, highlightings is applied to a `<pre>` block and`
<code>` segments.

## 安装

Upload the plugin and activate it. You do not need to set any configuration options.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Annytab Code Prettify」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Fredrik Stigsson ](https://profiles.wordpress.org/annytab/)

[帮助将「Annytab Code Prettify」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/annytab-code-prettify)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/annytab-code-prettify/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/annytab-code-prettify/)，或通过[RSS](https://plugins.trac.wordpress.org/log/annytab-code-prettify/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/annytab-code-prettify/)。

## 更新日志

#### 1.0.2 (2020-07-29)

 * Changed namespace.
 * Updated empty line styling.

#### 1.0.1 (2020-07-26)

 * Changed li-styling to override theme styling.

#### 1.0.0 (2020-07-21)

 * Initial release.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**6 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.4 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/annytab-code-prettify/)
 * 标签
 * [beautify](https://cn.wordpress.org/plugins/tags/beautify/)[code](https://cn.wordpress.org/plugins/tags/code/)
   [highlighting](https://cn.wordpress.org/plugins/tags/highlighting/)[pre](https://cn.wordpress.org/plugins/tags/pre/)
   [prettify](https://cn.wordpress.org/plugins/tags/prettify/)
 *  [高级视图](https://cn.wordpress.org/plugins/annytab-code-prettify/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/annytab-code-prettify/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/annytab-code-prettify/reviews/)

## 贡献者

 *   [ Fredrik Stigsson ](https://profiles.wordpress.org/annytab/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/annytab-code-prettify/)