Title: Code Block Syntax Highlighter for Elementor
Author: netninja2202
Published: <strong>2021 年 2 月 6 日</strong>
Last modified: 2023 年 9 月 14 日

---

搜尋外掛

![](https://ps.w.org/code-block-for-elementor/assets/banner-772x250.png?rev=2473918)

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

![](https://ps.w.org/code-block-for-elementor/assets/icon-128×128.jpg?rev=2473918)

# Code Block Syntax Highlighter for Elementor

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

[下載](https://downloads.wordpress.org/plugin/code-block-for-elementor.1.0.3.zip)

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

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

## 外掛說明

Code Block Syntax Highlighter for Elementor is an Elementor widget which adds code
blocks with prism.js syntax highlighting to your website.
 All languages and themes
of Prism.js 1.22.0 are supported.

 * Elementor widget to highlight code snippets
 * All prism.js languages are supported
 * Use different Prism.js themes
 * Show or hide line numberscopy to clipboardline numbers

## 螢幕擷圖

 * [[
 * Elementor code block settings.
 * [[
 * Rendered code block.
 * [[
 * [[
 * [[

## 安裝方式

 1. Upload the plugin to your blog and activate

## 常見問題集

### I want an additional feature which is not included?

Create a feature request on GitHub: https://github.com/thorstenalpers/wp-plugin-
code-block-for-elementor/issues

### I would like to be able to select only a few languages in the list?

Currently there is no admin UI, but you could modify the code-block.php file from
line 101 to 406 of this plugin, so that you see only a few languages.

## 使用者評論

![](https://secure.gravatar.com/avatar/d44f5a1708b8997d5611545aee5a25c5f8f99a243403d17654cbe932a92113b3?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-16661/)󠁿

 [cristianzerbinati](https://profiles.wordpress.org/cristianzerbinati/) 2025 年 
2 月 3 日

At now with WordPress 6.7.1 and Elementor, work perfect! Great job

![](https://secure.gravatar.com/avatar/ea106a3a15fa2841faa8ebc18631410ae6b5afc3bbb0aa7acc2b6940dcb22762?
s=60&d=retro&r=g)

### 󠀁[Efficient and complete](https://wordpress.org/support/topic/efficient-and-complete-2/)󠁿

 [titanesk](https://profiles.wordpress.org/titanesk/) 2023 年 1 月 11 日

Congratulations for this plugin. It is really complete because it takes into account
syntax highlighting with many programming languages and allows you to change the
design easily.It works very well with WordPress 6.1.1

![](https://secure.gravatar.com/avatar/a30cfcf5c0d3b69627ce8a0baf40c9b74ce35f45bcb434cc7a76c3a8e9fa7bfc?
s=60&d=retro&r=g)

### 󠀁[Finally a pluging for code hightlight on elementor](https://wordpress.org/support/topic/finally-a-pluging-for-code-hightlight-on-elementor/)󠁿

 [fantominus1](https://profiles.wordpress.org/fantominus1/) 2022 年 8 月 27 日

Been searching for a code hightlight plugin to make a simple portfolio with Elementor
without needing to get the pro version and this one seems to work perfectly.

![](https://secure.gravatar.com/avatar/b6d8792b31e42d6ce9be2531cad17f0535a3f635e8b1617626b19418e0a8acfe?
s=60&d=retro&r=g)

### 󠀁[Great job](https://wordpress.org/support/topic/good-work-746/)󠁿

 [sherif magdy](https://profiles.wordpress.org/sherifmagdy/) 2022 年 6 月 5 日

thanks for providing it for free.

![](https://secure.gravatar.com/avatar/c300ddce8c328813414c8ba84d4e31709b697f512501a9f2763e66a1698159a1?
s=60&d=retro&r=g)

### 󠀁[Perect and simple!](https://wordpress.org/support/topic/perect-and-simple/)󠁿

 [purplelawnchairs](https://profiles.wordpress.org/purplelawnchairs/) 2021 年 12
月 2 日

This is exactly what I was looking for and works seamlessly with Elementor Thanks
you very much, this was hard to find but i’m glad I did. Hope it gains traction

![](https://secure.gravatar.com/avatar/cfd27e3a31bae184cd1bfdc76df1e94b2dc937cb111ae0a3f1ac26709c01cce3?
s=60&d=retro&r=g)

### 󠀁[Great work!](https://wordpress.org/support/topic/great-work-953/)󠁿

 [fwkart](https://profiles.wordpress.org/fwkart/) 2021 年 5 月 6 日

Thanks 🙂

 [ 閱讀全部 8 則使用者評論 ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Code Block Syntax Highlighter for Elementor〉的開發相關工作。

參與者

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

[將〈Code Block Syntax Highlighter for Elementor〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/code-block-for-elementor)

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

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

## 變更記錄

#### 1.0.1 – 12-02-2020

Improved description

#### 1.0.0 – 16-12-2020

Added: Initial release

## 中繼資料

 *  版本 **1.0.3**
 *  最後更新 **3 年前**
 *  啟用安裝數 **600+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.3.8**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/code-block-for-elementor/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[code highlighting](https://tw.wordpress.org/plugins/tags/code-highlighting/)
   [elementor](https://tw.wordpress.org/plugins/tags/elementor/)[syntax highlight](https://tw.wordpress.org/plugins/tags/syntax-highlight/)
 *  [進階檢視](https://tw.wordpress.org/plugins/code-block-for-elementor/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  8 個 5 星使用者評論     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/#new-post)

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

## 參與者

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

## 技術支援

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

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