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://ru.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Разработка](https://ru.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 administration 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**
 *  Обновление: **13 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 3.5 или выше **
 *  Совместим вплоть до: **3.5.2**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Метки:
 * [code](https://ru.wordpress.org/plugins/tags/code/)[css](https://ru.wordpress.org/plugins/tags/css/)
   [highlighter](https://ru.wordpress.org/plugins/tags/highlighter/)[html](https://ru.wordpress.org/plugins/tags/html/)
   [javascript](https://ru.wordpress.org/plugins/tags/javascript/)
 *  [Дополнительно](https://ru.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)

[Your review](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)