Title: Code Prettify Syntax Highlighter
Author: TrueFalse
Published: <strong>17 décembre 2012</strong>
Last modified: 17 décembre 2012

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Code Prettify Syntax Highlighter

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

[Télécharger](https://downloads.wordpress.org/plugin/code-prettify-syntax-highlighter.zip)

 * [Détails](https://fr.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Avis](https://fr.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Développement](https://fr.wordpress.org/plugins/code-prettify-syntax-highlighter/#developers)

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

## Description

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

## Captures d’écrans

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

## Installation

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

## FAQ

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

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Code Prettify Syntax Highlighter » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

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

[Traduisez « Code Prettify Syntax Highlighter » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/code-prettify-syntax-highlighter)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/code-prettify-syntax-highlighter/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/code-prettify-syntax-highlighter/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/)
par [RSS](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0

 * The first version of the plugin.

## Méta

 *  Version **1.0**
 *  Dernière mise à jour **il y a 14 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 3.5 ou plus **
 *  Testé jusqu’à **3.5.2**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Étiquettes
 * [code](https://fr.wordpress.org/plugins/tags/code/)[css](https://fr.wordpress.org/plugins/tags/css/)
   [highlighter](https://fr.wordpress.org/plugins/tags/highlighter/)[html](https://fr.wordpress.org/plugins/tags/html/)
   [javascript](https://fr.wordpress.org/plugins/tags/javascript/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/code-prettify-syntax-highlighter/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://www.sooource.net)