PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Code
  4. Highlighting Code Block
Highlighting Code Block icon

Highlighting Code Block

Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)

By Ryo·Code·Free
4.5(19 reviews)
·10K+ active installs·Updated 2 days ago
DownloadVisit HomepageCompare

As of April 2026, Highlighting Code Block is a WordPress code plugin with 10K+ active installations and a 4.5/5 rating from 19 reviews. It has been downloaded 170K+ times in total. Requires WordPress 5.6+ and PHP 5.6+. Available on WordPress.org since 2018. Actively maintained — updated within the last month. Downloads are up 9016% this week. Top alternative: WPCode – Insert Headers and Footers +….

4.5/519 reviews
10K+active installs
170K+total downloads
8 yearssince 2018

Overview

“Highlighting Code Block” allows you to add a syntax-highlighted code block with just a click.

It supports both “Block Editor” and “Classic Editor”.
(However, we recommend using it in the “Block Editor”.)

Please see the following page for a detailed explanation of this plugin.

URL: https://loos.co.jp/en/documents/highlighting-code-block/

Source code

The source code of this plugin is available on Github.

URL: https://github.com/ddryo/Highlighting-Code-Block

How to use

How to use (For Block Editor)

  • Open the “Formatting” category of the Block Inserter.
  • There is a custom block named “Highlighing Code Block”.
  • Select it, the block will be inserted.
  • Select the language of the code and enter any code.

How to use (For Classi…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.519 reviews
5 ★
16
4 ★
0
3 ★
0
2 ★
2
1 ★
1

Recent Reviews

站点爆炸
by liuliu66·1 year ago

在寻求关于此问题的帮助时,您可能需要提供以下信息:
WordPress 版本 6.5.2
目前启用的主题:Vikinger – BuddyPress Social Community(1.9.9.4.2 版本)
当前插件:Highlighting Code Block(版本 2.0.1)
PHP 版本 8.1.27

错误详情
============
错误类型 E_ERROR 发生在文件 /www/wwwroot/1.14.58.204/wp-content/plugins/highlighting-code-block/class/loos_hcb_menu.php 的 140 行。错误信息:Uncaught ValueError: Unknown format specifier “�” in /www/wwwroot/1.14.58.204/wp-content/plugins/highlighting-code-block/class/loos_hcb_menu.php:140
Stack trace:
#0 /www/wwwroot/1.14.58.204/wp-content/plugins/highlighting-code-block/class/loos_hcb_menu.php(140): sprintf()
#1 /www/wwwroot/1.14.58.204/wp-includes/class-wp-hook.php(324): {closure}()
#2 /www/wwwroot/1.14.58.204/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /www/wwwroot/1.14.58.204/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /www/wwwroot/1.14.58.204/wp-admin/admin.php(175): do_action()
#5 /www/wwwroot/1.14.58.204/wp-admin/plugins.php(10): require_once(‘…’)
#6 {main}
thrown

very nice
by sazone·2 years ago

read code easily

Good Job!
by ishere·2 years ago

Very thanks!

No support for Android syntax
by Rouzbeh Zarei·2 years ago·1 reply

Unfortunately, the plugin doesn’t support Java, Kotlin, Flutter nor XML syntax, making it completely useless for anyone in the Android development field.

A+ Once I figured out the BLOCKS part!
by Anonymous User 20287723·2 years ago

I don’t normally use WP Blocks and so I could not figure out why this plugin broke for certain code syntax (PHP -> HTML -> PHP for example) and why saving sometimes broke the previously-saved syntax. Maddening. Then I switched back to the block editor. AHA! It works beautifully. That’s probably why it says “Block” in the plugin name, duh. Thank you very much for this wonderful plugin. I love that we can also upload our own prism.js files. Cool.

Download Trends

Today: 4KYesterday: 4KThis week: 10KPeriod total: 18K

Compatibility

WordPress5.6+ requiredTested up to 6.9.4
PHP5.6+ required

Version Adoption

v2.0
83.3%
Other
10.9%
v1.7
5.9%

Top Alternatives to Highlighting Code Block

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
Simple Custom CSS Plugin icon
Simple Custom CSS Plugin
4.7100K+ installsUpdated 1 year ago
ViewCompare
Head & Footer Code icon
Head & Footer Code
5100K+ installsUpdated 2 days ago
ViewCompare
Shortcoder — Create Shortcodes for Anything icon
Shortcoder — Create Shortcodes for…
4.9100K+ installsUpdated 1 month ago
ViewCompare
View all code plugins →

Frequently Asked Questions

Changelog

2.1.3

  • Fixed an issue where there was a discrepancy in the structure of the build files.
View full changelog on WordPress.org

Contributors

RyoRyo
Plugin Info
Version
2.1.3
Last Updated
Apr 1, 2026
WP Requires
5.6+
Tested Up To
6.9.4
PHP Requires
5.6+
Active Installs
10K+
Downloads
170K+
Added
Dec 12, 2018
Business
Free

Tags

codeblockeditorsyntaxguternberg

Developer

R
Ryo
5 plugins0.1M+ total installs
View all plugins →

Quick Compare

Highlighting Code Block vs WPCode – Insert Headers and Footers +…→Highlighting Code Block vs Code Snippets→Highlighting Code Block vs Simple Custom CSS Plugin→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.