Title: Code Prettify Syntax Highlighter
Author: TrueFalse
Published: <strong>17. Decembra 2012.</strong>
Last modified: 17. Decembra 2012.

---

Pretražite dodatke

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# Code Prettify Syntax Highlighter

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

[Skini](https://downloads.wordpress.org/plugin/code-prettify-syntax-highlighter.zip)

 * [Detalji](https://bs.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/code-prettify-syntax-highlighter/#developers)

 [Podrška](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/)

## Opis

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”> перед
сохранением записи.’

## Slike ekrana

 * [[
 * This frontend.
 * [[
 * This administration page.
 * [[
 * This post editing page.

## Instalacija

 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»’.

## ČPP

 * 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’.

## Recenzije

Nema recenzija za ovaj dodatak.

## Saradnici i programeri

“Code Prettify Syntax Highlighter” is open source software. The following people
have contributed to this plugin.

Doprinositelji

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

[Prevedi “Code Prettify Syntax Highlighter” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/code-prettify-syntax-highlighter)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/code-prettify-syntax-highlighter/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/code-prettify-syntax-highlighter/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/)
od [RSS](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 1.0

 * The first version of the plugin.

## Meta

 *  Version **1.0**
 *  Last updated **prije 13 godina**
 *  Active installations **10+**
 *  WordPress version ** 3.5 ili viša **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Tags
 * [code](https://bs.wordpress.org/plugins/tags/code/)[css](https://bs.wordpress.org/plugins/tags/css/)
   [highlighter](https://bs.wordpress.org/plugins/tags/highlighter/)[html](https://bs.wordpress.org/plugins/tags/html/)
   [javascript](https://bs.wordpress.org/plugins/tags/javascript/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/code-prettify-syntax-highlighter/advanced/)

## Ocjene

 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/)

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](http://www.sooource.net)