Title: Simple Code Block Highlighter
Author: zohebtg
Published: <strong>21 ພຶດສະພາ 2026</strong>
Last modified: 21 ພຶດສະພາ 2026

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/simple-code-block-highlighter/assets/banner-772x250.png?rev
=3540412)

![](https://ps.w.org/simple-code-block-highlighter/assets/icon-256x256.png?rev=3540412)

# Simple Code Block Highlighter

 ໂດຍ [zohebtg](https://profiles.wordpress.org/zohebtg/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/simple-code-block-highlighter.1.2.2.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/simple-code-block-highlighter/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/simple-code-block-highlighter/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/simple-code-block-highlighter/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/simple-code-block-highlighter/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/simple-code-block-highlighter/)

## ຄຳອະທິບາຍ

Simple Code Block Highlighter enhances the default WordPress code and preformatted
blocks. It can show line numbers, add a copy-to-clipboard button, switch between
light and dark display themes, and automatically color code blocks with bundled 
Highlight.js syntax highlighting.

The plugin uses the WordPress Settings API, validates and sanitizes saved options,
escapes admin output, and avoids inline JavaScript-generated HTML for line numbers.
Syntax highlighting is served from the plugin files and does not load a third-party
CDN on visitor pages.

For setup help, read the [Simple Code Block Highlighter guide](https://www.techgrapple.com/simple-code-block-highlighter-free-plugin-for-wordpress/).

### Third-party Libraries

This plugin bundles Highlight.js 11.11.1 for syntax highlighting.

Highlight.js
 Source: [Highlight.js on GitHub](https://github.com/highlightjs/highlight.js)
License: BSD 3-Clause License file included at: assets/vendor/highlightjs/LICENSE

## ພາບໜ້າຈໍ

[⌊Frontend code block with syntax highlighting, line numbers, and copy button.⌉⌊
Frontend code block with syntax highlighting, line numbers, and copy button.⌉[

Frontend code block with syntax highlighting, line numbers, and copy button.

[⌊Plugin settings page with display options.⌉⌊Plugin settings page with display 
options.⌉[

Plugin settings page with display options.

## ການຕິດຕັ້ງ

 1. Upload the plugin folder to `/wp-content/plugins/simple-code-block-highlighter`.
 2. Activate the plugin from the WordPress Plugins screen.
 3. Go to Settings > Simple Code Block Highlighter to choose display options. Color
    Code Blocks is checked by default.
 4. Add a WordPress Code block, paste any code you like, and the plugin will work out
    of the box.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### How do I use the plugin?

Add a WordPress Code block (`<code>`) in the editor, paste any code you like, and
publish or preview the post. The plugin automatically detects the language and highlights
the block out of the box.

### Where can I find setup instructions?

Read the [Simple Code Block Highlighter guide](https://www.techgrapple.com/simple-code-block-highlighter-free-plugin-for-wordpress/)
for full setup and usage instructions.

### Does this plugin store visitor data?

No. The plugin only stores administrator-selected display settings in the WordPress
options table.

### Does this plugin change the original post content?

No. Code blocks are enhanced in the browser after the page loads. The saved post
content is not modified.

### Does the plugin detect code automatically?

Yes. The plugin auto-detects the code type every time, so no extra setup is needed.

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Simple Code Block Highlighter” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້
ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

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

[ແປ “Simple Code Block Highlighter” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/simple-code-block-highlighter)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/simple-code-block-highlighter/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/simple-code-block-highlighter/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/simple-code-block-highlighter/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/simple-code-block-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.2.2

 * Tested with the latest version of WordPress 7.0.

#### 1.2.1

 * Switched syntax highlighting to automatic language detection only.
 * Updated settings instructions and kept Color Code Blocks enabled by default.
 * Updated usage FAQ.

#### 1.2.0

 * Added bundled Highlight.js syntax highlighting for common languages.
 * Added automatic language detection for every highlighted code block.
 * Added a setting to enable or disable color code blocks.

#### 1.1.0

 * Hardened settings validation, sanitization, escaping, and capability checks.
 * Removed unsafe JavaScript `innerHTML` line-number rendering.
 * Added cache-busted asset versions and cleaner copy-button behavior.
 * Added GitHub-ready security, CI, ignore, and documentation files.

#### 1.0

 * Initial release.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.2.2**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **1 ເດືອນ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ເວີຊັນ WordPress ** 5.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **7.0**
 *  ເວີຊັນ PHP ** 7.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/simple-code-block-highlighter/)
 * ແທັກ
 * [code](https://lo.wordpress.org/plugins/tags/code/)[code block](https://lo.wordpress.org/plugins/tags/code-block/)
   [copy button](https://lo.wordpress.org/plugins/tags/copy-button/)[highlighter](https://lo.wordpress.org/plugins/tags/highlighter/)
   [syntax](https://lo.wordpress.org/plugins/tags/syntax/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/simple-code-block-highlighter/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

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

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/simple-code-block-highlighter/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

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

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/simple-code-block-highlighter/)