Title: Zeddotes Enhanced Code Block
Author: zeddotes
Published: <strong>2026 年 8 月 11 日</strong>
Last modified: 2026 年 8 月 11 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/zeddotes-enhanced-code-block.svg)

# Zeddotes Enhanced Code Block

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

[下載](https://downloads.wordpress.org/plugin/zeddotes-enhanced-code-block.1.0.0.zip)

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

 [技術支援](https://wordpress.org/support/plugin/zeddotes-enhanced-code-block/)

## 外掛說明

Zeddotes Enhanced Code Block adds inspector controls to the WordPress core Code 
block:

 * Language select with Prism.js highlighting in the editor and on the frontend
 * Optional line numbers
 * Tab key indents inside the block (Shift+Tab outdents); optional spaces instead
   of tabs
 * Configurable tab size (2 / 4 / 8)
 * Optional copy button before or after the code block, aligned left / center / 
   right (or hidden)

No separate block type — authors keep using the standard Code block.

## 安裝方式

 1. Upload the plugin folder to `/wp-content/plugins/zeddotes-enhanced-code-block` (
    or this directory name).
 2. Run `npm install` and `npm run build` if `build/` is not present.
 3. Activate the plugin through the Plugins screen.
 4. Insert a Code block and open the **Zeddotes Enhanced Code Block** panel in the 
    sidebar.

## 常見問題集

### Does this replace the core Code block?

No. It extends `core/code` via block filters.

### Where does highlighting run?

In the block editor and on the frontend, via a bundled Prism.js build.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Zeddotes Enhanced Code Block〉的開發相關工作。

參與者

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

[將〈Zeddotes Enhanced Code Block〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/zeddotes-enhanced-code-block)

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

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

## 變更記錄

#### 1.0.0

 * Initial release: language select, Prism highlighting, configurable copy button.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **2 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/zeddotes-enhanced-code-block/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[copy](https://tw.wordpress.org/plugins/tags/copy/)
   [gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)[prism](https://tw.wordpress.org/plugins/tags/prism/)
   [syntax highlighting](https://tw.wordpress.org/plugins/tags/syntax-highlighting/)
 *  [進階檢視](https://tw.wordpress.org/plugins/zeddotes-enhanced-code-block/advanced/)

## 評分

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

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

[查看全部使用者評論](https://wordpress.org/support/plugin/zeddotes-enhanced-code-block/reviews/)

## 參與者

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

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/zeddotes-enhanced-code-block/)