Title: Code Syntax Highlighting Block
Author: hbgl
Published: <strong>11 ژوئن 2025</strong>
Last modified: 29 نوامبر 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/code-syntax-highlighting-block/assets/banner-772x250.png?rev
=3310012)

![](https://ps.w.org/code-syntax-highlighting-block/assets/icon.svg?rev=3310016)

# Code Syntax Highlighting Block

 توسط [hbgl](https://profiles.wordpress.org/hbgl/)

[دانلود](https://downloads.wordpress.org/plugin/code-syntax-highlighting-block.1.1.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/code-syntax-highlighting-block/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/code-syntax-highlighting-block/#reviews)
 * [توسعه](https://fa.wordpress.org/plugins/code-syntax-highlighting-block/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/code-syntax-highlighting-block/)

## توضیحات

A WordPress plugin that provides a Gutenberg block for displaying computer source
code with syntax-highlighting. Uses [highlight.js](https://highlightjs.org/) under
the hood.

 * ✅ Supports 192 languages
 * ✅ 256 included themes
 * ✅ Server rendered static HTML
 * ✅ Zero JS runtime dependencies
 * ✅ Dynamic light/dark mode based on [preferred color scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)

## عکس‌های صفحه

 * [[
 * A demo of syntax-highlighted PHP code.
 * [[
 * A demo of editing the block in the Gutenberg editor.

## بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

 *   Code with Syntax Highlighting Display computer code with syntax highlighting.

## سوالات متداول

### Why no line numbers?

[Because highlight.js does not have them.](https://highlightjs.readthedocs.io/en/latest/line-numbers.html)

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Code Syntax Highlighting Block” نرم افزار متن باز است. افراد زیر در این افزونه 
مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “Code Syntax Highlighting Block” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/code-syntax-highlighting-block)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/code-syntax-highlighting-block/),
check out the [SVN repository](https://plugins.svn.wordpress.org/code-syntax-highlighting-block/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/code-syntax-highlighting-block/)
by [RSS](https://plugins.trac.wordpress.org/log/code-syntax-highlighting-block/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.1.2

 * Updated Codemirror code editor in Gutenberg to latest version
 * Updated internal dependencies

#### 1.1.1

 * Added option for setting global default line height

#### 1.1.0

 * Added better code editor

#### 1.0.0

 * Release

## اطلاعات

 *  نگارش **1.1.2**
 *  Last updated **4 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 6.7 یا بالاتر **
 *  Tested up to **6.8.5**
 *  نگارش PHP ** 8.1 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/code-syntax-highlighting-block/)
 * Tags
 * [code](https://fa.wordpress.org/plugins/tags/code/)[syntax highlighting](https://fa.wordpress.org/plugins/tags/syntax-highlighting/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/code-syntax-highlighting-block/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/code-syntax-highlighting-block/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/code-syntax-highlighting-block/)