Title: WP Chili
Author: Andrea Ercolino
Published: <strong>2008 年 3 月 12 日</strong>
Last modified: 2010 年 6 月 25 日

---

搜尋外掛

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

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

# WP Chili

 由 [Andrea Ercolino](https://profiles.wordpress.org/aercolino/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-chili.1.2.zip)

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

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

## 外掛說明

Easy code highlighting for WordPress with [Chili](http://noteslog.com/chili/) (the
bundled version is 2.2):

 1. Switch to the `code` tab
 2. Put your code snippet inside `<code class="lang"></code>` tags
 3. Replace the above `lang` with the language to highlight

#### Examples

 * `<code class="php">echo "&lt;script&gt;alert( 'Hello ' + $name );&lt;/script&
   gt;";</code>`
 * `<code class="javascript">alert( 'Hello ' + $name );</code>`

#### Tips

 * Put your code inside `<pre><code class="lang"></code></pre>` tags if you want
   to preserve white space
 * Add an “ln-” class to the `<pre>` element to add line numbers
 * Read the [Chili](http://noteslog.com/chili/) site for many config options
 * In version 1.2, the file chili/recipes.js is the one which contains the recipes
   you need. So, add/remove recipes there if you need to. By default it contains
   html, css, javascript, and php

## 安裝方式

 1. Copy the wp-chili folder into your plugins folder
 2. Activate WP Chili

## 常見問題集

none

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Andrea Ercolino ](https://profiles.wordpress.org/aercolino/)

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

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

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

## 中繼資料

 *  版本 **1.2**
 *  最後更新 **16 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-chili/)
 * 標籤:
 * [chili](https://tw.wordpress.org/plugins/tags/chili/)[code](https://tw.wordpress.org/plugins/tags/code/)
   [jquery](https://tw.wordpress.org/plugins/tags/jquery/)[pre](https://tw.wordpress.org/plugins/tags/pre/)
   [snippet](https://tw.wordpress.org/plugins/tags/snippet/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-chili/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Andrea Ercolino ](https://profiles.wordpress.org/aercolino/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://noteslog.com/)