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

---

Търсене на разширения

Това разширение **не е обновявано повече от 2 години**. Може вече да не се поддържа
и да има проблеми със съвместимостта при използването му на по-нови версии на 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://bg.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Оценки](https://bg.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Инсталиране](https://bg.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Разработка](https://bg.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’.

## Отзиви

There are no reviews for this plugin.

## Сътрудници и разработчици

“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/),
или абонамент към [програмната история (log)](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.

## Мета

 *  Version **1.0**
 *  Last updated **Преди 14 години **
 *  Active installations **10+**
 *  WordPress version ** 3.5 или по-висока **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Tags
 * [code](https://bg.wordpress.org/plugins/tags/code/)[css](https://bg.wordpress.org/plugins/tags/css/)
   [highlighter](https://bg.wordpress.org/plugins/tags/highlighter/)[html](https://bg.wordpress.org/plugins/tags/html/)
   [javascript](https://bg.wordpress.org/plugins/tags/javascript/)
 *  [Разширен изглед](https://bg.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)