Title: Syntax
Author: modularwp
Published: <strong>2017 年 5 月 15 日</strong>
Last modified: 2017 年 5 月 16 日

---

搜索插件

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

![](https://ps.w.org/syntax/assets/icon-256x256.jpg?rev=1658128)

# Syntax

 作者：[modularwp](https://profiles.wordpress.org/modularwp/)

[下载](https://downloads.wordpress.org/plugin/syntax.0.9.2.zip)

 * [详情](https://cn.wordpress.org/plugins/syntax/#description)
 * [评价](https://cn.wordpress.org/plugins/syntax/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/syntax/#developers)

 [支持](https://wordpress.org/support/plugin/syntax/)

## 描述

The Syntax WordPress plugin improves the process of inserting and displaying code
examples within the WordPress editor.

Preserving the formatting of code within the WordPress editor can be a challenge.
This is because WordPress filters content within the editor, which can change the
content and/or formatting of the code. The Syntax plugin adds a button to the editor
that allows code to be added in a way that preserves the syntax. This is done properly(
without the use of shortcodes) so that even if you disable the Syntax plugin in 
the future, your code will still be wrapped in the semantically correct tags within
your posts and pages.

The plugin works by saving each code example both within the editor and in a meta
field created by the plugin. Whenever WordPress runs a filter with the potential
to modify the code example, the example is copied from the meta field back into 
the editor.

## 常见问题

  No questions yet

That’s right, none so far.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ modularwp ](https://profiles.wordpress.org/modularwp/)
 *   [ Alex Mansfield ](https://profiles.wordpress.org/alexmansfield/)

[帮助将「Syntax」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/syntax)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.9.2

Updated the plugin description.

#### 0.9.1

Updated author details.

#### 0.9.0

This is the first version. No changes yet.

## 额外信息

 *  版本 **0.9.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.7.0 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/syntax/)
 * 标签
 * [code](https://cn.wordpress.org/plugins/tags/code/)
 *  [高级视图](https://cn.wordpress.org/plugins/syntax/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/syntax/reviews/)

## 贡献者

 *   [ modularwp ](https://profiles.wordpress.org/modularwp/)
 *   [ Alex Mansfield ](https://profiles.wordpress.org/alexmansfield/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/syntax/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://modularwp.com/)