Title: WP-Syntax Editor Integration Plugin
Author: diekleinehexe
Published: <strong>2009 年 12 月 30 日</strong>
Last modified: 2013 年 11 月 14 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wp-syntax-integration.svg)

# WP-Syntax Editor Integration Plugin

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

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

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

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

## 描述

This plugin will add a button to both the visual and HTML WordPress Editor panel
allowing you to easily insert code for WP-Syntax. WP-Syntax is a syntax highlighting
plugin for WordPress which can be downloaded from https://wordpress.org/extend/plugins/
wp-syntax/

**Usage**

 1. Select the text you want to have highlighted by WP-Syntax
 2. Click the button pre (WP-Syntax) in HTML editing mode or the icon with colored 
    lines in visual editing mode
 3. Enter the language and starting line separated by a comma. The later is optional.

## 屏幕截图

 * [[
 * The first image screenshot-1.png shows the rich text / TinyMCE editor version
   of the editing screen.
 * [[
 * The second image screenshot-2.png shows the plain text / HTML editor version 
   of the editing screen.

## 安装

 1. Upload the wp-syntax-integration folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  If I enter HTML tags in visual mode and click the button, most of the HTML tags
disappear!

This is a known limitation which is caused by TinyMCE stripping out HTML tags which
are not allowed according to its settings. A workaround is to do the editing in 
HTML mode (see usage).

  I can’t get the TinyMCE (Rich Text) buttons to display!

Make sure that you have uploaded the entire contents of the wp-syntax-integration
folder. If it still doesn’t work, drop me a line.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ diekleinehexe ](https://profiles.wordpress.org/diekleinehexe/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.2

Adjusted plugin to work with WordPress 3.3 and above in plain text editor. Note 
that versions prior to WordPress 3.3 are not supported any longer.

#### 0.1

 * Initial release

## 额外信息

 *  版本 **0.2**
 *  最后更新：**13 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.7.41**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-syntax-integration/)
 * 标签
 * [highlighter](https://cn.wordpress.org/plugins/tags/highlighter/)[quicktags](https://cn.wordpress.org/plugins/tags/quicktags/)
   [syntax](https://cn.wordpress.org/plugins/tags/syntax/)[tinyMCE](https://cn.wordpress.org/plugins/tags/tinymce/)
   [wp-syntax](https://cn.wordpress.org/plugins/tags/wp-syntax/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-syntax-integration/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ diekleinehexe ](https://profiles.wordpress.org/diekleinehexe/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.effinger.org)