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://zh-hk.wordpress.org/plugins/code-block-for-elementor/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/code-block-for-elementor/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/code-block-for-elementor/#installation)
 * [開發](https://zh-hk.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.⌉⌊Elementor code block settings.⌉[

Elementor code block settings.

[⌊Rendered code block.⌉⌊Rendered code block.⌉[

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

## 其它

 *  Version **1.0.3**
 *  Last updated **3 年之前**
 *  Active installations **600+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.3.8**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/code-block-for-elementor/)
 * Tags
 * [code](https://zh-hk.wordpress.org/plugins/tags/code/)[code highlighting](https://zh-hk.wordpress.org/plugins/tags/code-highlighting/)
   [elementor](https://zh-hk.wordpress.org/plugins/tags/elementor/)[syntax highlight](https://zh-hk.wordpress.org/plugins/tags/syntax-highlight/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/code-block-for-elementor/advanced/)

## 評分

 5 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/code-block-for-elementor/reviews/?filter=2)
 *  [  0 1-star reviews     ](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)

[See all reviews](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/)