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

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# Code Prettify Syntax Highlighter

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

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

 * [Detalhes](https://pt.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/code-prettify-syntax-highlighter/#developers)

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

## Descrição

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

## Ecrãs

[⌊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.

## Instalação

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

## Perguntas frequentes

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

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“Code Prettify Syntax Highlighter” é software de código aberto. As seguintes pessoas
contribuíram para este plugin:

Contribuidores

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

[Traduza o “Code Prettify Syntax Highlighter” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/code-prettify-syntax-highlighter)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/code-prettify-syntax-highlighter/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/code-prettify-syntax-highlighter/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/)
por [RSS](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 1.0

 * The first version of the plugin.

## Metadados

 *  Versão **1.0**
 *  Última actualização **Há 14 anos**
 *  Instalações activas **10+**
 *  Versão do WordPress ** 3.5 ou superior **
 *  Testado até **3.5.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Etiquetas
 * [code](https://pt.wordpress.org/plugins/tags/code/)[css](https://pt.wordpress.org/plugins/tags/css/)
   [highlighter](https://pt.wordpress.org/plugins/tags/highlighter/)[html](https://pt.wordpress.org/plugins/tags/html/)
   [javascript](https://pt.wordpress.org/plugins/tags/javascript/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/code-prettify-syntax-highlighter/advanced/)

## Classificações

 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)

[Ver todas as revisões](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/)

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/)

## Doar

Gostaria de apoiar o desenvolvimento deste plugin?

 [ Fazer donativo para o plugin ](http://www.sooource.net)