Title: Code Prettify Syntax Highlighter
Author: TrueFalse
Published: <strong>17.12.2012</strong>
Last modified: 17.12.2012

---

Шукати плагіни

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

![](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://uk.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Розробка](https://uk.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/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.0

 * The first version of the plugin.

## Мета

 *  Версія **1.0**
 *  Останнє оновлення **14 років тому**
 *  Активних встановлень **10+**
 *  Версія WordPress ** 3.5 або вище **
 *  Tested up to **3.5.2**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Позначки
 * [code](https://uk.wordpress.org/plugins/tags/code/)[css](https://uk.wordpress.org/plugins/tags/css/)
   [highlighter](https://uk.wordpress.org/plugins/tags/highlighter/)[html](https://uk.wordpress.org/plugins/tags/html/)
   [javascript](https://uk.wordpress.org/plugins/tags/javascript/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/code-prettify-syntax-highlighter/advanced/)

## Оцінки

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=1)

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

[See all reviews](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)