Title: Code Prettify Syntax Highlighter
Author: TrueFalse
Published: <strong>17 دسامبر 2012</strong>
Last modified: 17 دسامبر 2012

---

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

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/code-prettify-syntax-highlighter.svg)

# Code Prettify Syntax Highlighter

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

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

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

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

## توضیحات

English:

This plugin to select blocks of code takes advantage of JavaScript-library ‘google-
code-prettify’. If it is for his work simply insert frame <pre> tag with class ‘
prettyprint’.

*** Tip: In order to optimize the use of resources, try to use only one option –‘
Automatically replace the tags <pre> to <pre class=”prettyprint linenums”> before
saving post.’

Russian:

Данный плагин для выделения блоков кода использует возможности JavaScript-библиотеки‘
google-code-prettify’. При это для его работы достаточно просто обрамлять вставки
тегом <pre> с классом ‘prettyprint’.

***Совет: в целях оптимизации потребления ресурсов старайтесь использовать только
1 флажок – ‘Автоматически заменять <pre> на <pre class=”prettyprint linenums”> перед
сохранением записи.’

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

[⌊This frontend.⌉⌊This frontend.⌉[

This frontend.

[⌊This administration page.⌉⌊This administration page.⌉[

This administration page.

[⌊This post editing page.⌉⌊This post editing page.⌉[

This post editing page.

## نصب

 1. Unzip files.
 2. Upload ‘cpsh’ to the ‘/wp-content/plugins/’ directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Go to your ‘Writing’.
 5. Go to your ‘Highlighting code with «google-code-prettify»’.

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

 * Syntax highlighting is not working?

Try disabling JQuery in your theme. Or comment the 33rd line of code plugin: wp_enqueue_script(‘
jquery’);

 * How do I block a themed code?

Specify the path to an arbitrary CSS file in the plugin settings. Examples of these,
see the catalog ‘http://example.com/wordpress/wp-content/plugins/cpsh/google-code-
prettify/prettify.css’.

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

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

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

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

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

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

[ترجمه “Code Prettify Syntax Highlighter” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/code-prettify-syntax-highlighter)

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

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/code-prettify-syntax-highlighter/)،
[مخزن SVN](https://plugins.svn.wordpress.org/code-prettify-syntax-highlighter/) 
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/)
مشترک شوید.

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

#### 1.0

 * The first version of the plugin.

## اطلاعات

 *  نگارش **1.0**
 *  آخرین به‌روزرسانی **14 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3.5 یا بالاتر **
 *  آزمایش‌شده تا **3.5.2**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * برچسب
 * [code](https://fa.wordpress.org/plugins/tags/code/)[css](https://fa.wordpress.org/plugins/tags/css/)
   [highlighter](https://fa.wordpress.org/plugins/tags/highlighter/)[html](https://fa.wordpress.org/plugins/tags/html/)
   [javascript](https://fa.wordpress.org/plugins/tags/javascript/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/code-prettify-syntax-highlighter/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/#new-post)

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

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

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

## پشتیبانی

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

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

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://www.sooource.net)