Title: Ion Snytax Highlighter
Author: John
Published: <strong>2009 年 5 月 8 日</strong>
Last modified: 2009 年 9 月 28 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Ion Snytax Highlighter

 由 [John](https://profiles.wordpress.org/sidewindernet/) 開發

[下載](https://downloads.wordpress.org/plugin/ionhighlight.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/ionhighlight/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/ionhighlight/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/ionhighlight/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/ionhighlight/#developers)

 [技術支援](https://wordpress.org/support/plugin/ionhighlight/)

## 外掛說明

This plugin enables you to highlight syntax using the PEAR Text_Highlighter class.
Other syntax highlighters that use GeSHi have slower rendering speeds which will
increase your page load time. However, this plugin gives you the speed and efficiency
provided by the PEAR developers. You even have the option of enabling or disabling
the line numbers as well as specifying your own style.

## 安裝方式

 1. Download ionhighlight.zip and unzip it.
 2. Upload the plugin folder to wp-content/plugins/ and activate from the Plugin administrative
    menu.

## 常見問題集

#### How do I highlight my code?

You can use the bbtags. Simply place your code between the tags and your code will
be highlighted. You may also specify one of the supported languages by using the
lang parameter –

#### How do I enable/disable line numbers?

Under the settings menu click on the Syntax Highlighter link. From there either 
select “Yes” or “No” to the Line Numbers option.

#### Characters are being converted to their HTML entities

This is because you have entered your code in Visual mode. You must enter your code
in HTML mode.

#### This plugin breaks my XHTML validation.

This plugin encapsulates code using div tags. Div is a block element and cannot 
be placed inside an inline element. This is probably causing your validation to 
break. If you place

    ```notranslate
     tags inline, you are placing them inside a</p>
     <p>&lt;</p>
     <p>p&gt; which is an inline element. This causes your validation to break. Therefor you must place [code] tags on a line by itself. For example: BAD     This is hello world in PHP: [code]
    ```

 GOOD This is hello world in PHP:

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Ion Snytax Highlighter〉的開發相關工作。

參與者

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

[將〈Ion Snytax Highlighter〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/ionhighlight)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/ionhighlight/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/ionhighlight/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/ionhighlight/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/ionhighlight/)。

## 中繼資料

 *  版本 **1.3**
 *  最後更新 **17 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 2.0.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.8**
 *  語言
 * [English (US)](https://wordpress.org/plugins/ionhighlight/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[Highlight](https://tw.wordpress.org/plugins/tags/highlight/)
   [syntax](https://tw.wordpress.org/plugins/tags/syntax/)
 *  [進階檢視](https://tw.wordpress.org/plugins/ionhighlight/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/ionhighlight/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/ionhighlight/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/ionhighlight/)