Title: Lite Syntax Highlighting
Author: z-17
Published: <strong>2016 年 1 月 4 日</strong>
Last modified: 2019 年 3 月 24 日

---

搜尋外掛

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

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

# Lite Syntax Highlighting

 由 [z-17](https://profiles.wordpress.org/z-17/) 開發

[下載](https://downloads.wordpress.org/plugin/lite-syntax-highlighting.0.5.zip)

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

 [技術支援](https://wordpress.org/support/plugin/lite-syntax-highlighting/)

## 外掛說明

The Plugin makes it easy to add syntax highlighting of code in your blog. You can
use shortcodes in posts and comments and also html tags everywhere.

It adds some buttons to editor, which generate special short code tags to turn on
syntax highlighting: [slh lang=”php”] for example. And you can use html tags, example:
<pre class=”slh__html”></pre>

The plugin supports highlighting:

 * PHP
 * HTML
 * CSS
 * JavaScript
 * C

Languages:

 * English
 * Русский

Styles:

 * Light
 * Dark

## 螢幕擷圖

 * [[
 * Example for PHP code
 * [[
 * Settings page
 * [[
 * Editor
 * [[
 * Dark style

## 安裝方式

 1. Upload the plugin files to the “/wp-content/plugins/” directory or install the 
    plugin through the WordPress plugins screen directly..
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Use the Settings -> Syntax Highlighting screen to configure the plugin

## 常見問題集

  What code is highlighted?

PHP, HTML, CSS, JavaScript and C

  How can I help?

There are public repository: https://github.com/z17/Lite-Syntax-Highlighting
 Welcome!

  How can I use it?

You can use special buttons in WordPress post editor, or use shortcodes like [slh
lang=”php”] to create block of code.
 Also you can just write html tags <pre class
=”slh__php”> CODE </pre> where you want.

  How can I ask something?

Open new topic in support section or you can write me email, admin@blweb.ru

## 使用者評論

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

### 󠀁[easy and light !](https://wordpress.org/support/topic/easy-and-light-3/)󠁿

 [May](https://profiles.wordpress.org/mokoan/) 2016 年 12 月 27 日 1 則留言

Very easy to use. Thank you 🙂

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

### 󠀁[Good and easy to use.](https://wordpress.org/support/topic/good-and-easy-to-use-17/)󠁿

 [Jatupon Rattanapanop](https://profiles.wordpress.org/emilybkk/) 2016 年 9 月 3
日 1 則留言

It is so simple and as my site don’t need a ton of feature I only post css and php
little bit. This plugin just fit my need. Thank you so much.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/)

## 參與者及開發者

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

參與者

 *   [ z-17 ](https://profiles.wordpress.org/z-17/)

〈Lite Syntax Highlighting〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting/contributors)
為這個外掛做出的貢獻。

[將〈Lite Syntax Highlighting〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting)

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

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

## 變更記錄

#### 0.5

 * add support short codes
 * short codes also work in comments

#### 0.4

 * add basic highlight for C language
 * some refactor

#### 0.3

 * add dark style

#### 0.2

 * Add languages support

#### 0.1

 * Initial release.

## 中繼資料

 *  版本 **0.5**
 *  最後更新 **7 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.1.22**
 *  語言
 * [English (US)](https://wordpress.org/plugins/lite-syntax-highlighting/)、[Japanese](https://ja.wordpress.org/plugins/lite-syntax-highlighting/)、
   及 [Russian](https://ru.wordpress.org/plugins/lite-syntax-highlighting/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting)
 * 標籤:
 * [code highlighter](https://tw.wordpress.org/plugins/tags/code-highlighter/)[highlighter](https://tw.wordpress.org/plugins/tags/highlighter/)
   [highlighting](https://tw.wordpress.org/plugins/tags/highlighting/)[syntax](https://tw.wordpress.org/plugins/tags/syntax/)
   [syntax highlighter](https://tw.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [進階檢視](https://tw.wordpress.org/plugins/lite-syntax-highlighting/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/#new-post)

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

## 參與者

 *   [ z-17 ](https://profiles.wordpress.org/z-17/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](https://blweb.ru)