Title: Code Syntax Highlighting Block
Author: hbgl
Published: <strong>11 juin 2025</strong>
Last modified: 23 mai 2026

---

Recherche d’extensions

![](https://ps.w.org/code-syntax-highlighting-block/assets/banner-772x250.png?rev
=3310012)

![](https://ps.w.org/code-syntax-highlighting-block/assets/icon.svg?rev=3310016)

# Code Syntax Highlighting Block

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

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

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

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

## Description

A WordPress plugin that provides a Gutenberg block for displaying computer source
code with syntax-highlighting. Uses [highlight.js](https://highlightjs.org/) under
the hood.

 * ✅ Supports 192 languages
 * ✅ 256 included themes
 * ✅ Server rendered static HTML
 * ✅ Zero JS runtime dependencies
 * ✅ Dynamic light/dark mode based on [preferred color scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)

## Captures d’écrans

 * [[
 * A demo of syntax-highlighted PHP code.
 * [[
 * A demo of editing the block in the Gutenberg editor.

## Blocs

Cette extension fournit 1 bloc.

 *   Code with Syntax Highlighting Display computer code with syntax highlighting.

## FAQ

### Why no line numbers?

[Because highlight.js does not have them.](https://highlightjs.readthedocs.io/en/latest/line-numbers.html)

## Avis

Il n’y a aucun avis pour cette extension.

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

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

Contributeurs

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

[Traduisez « Code Syntax Highlighting Block » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/code-syntax-highlighting-block)

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

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

## Journal des modifications

#### 1.1.3

 * Updated internal dependencies

#### 1.1.2

 * Updated Codemirror code editor in Gutenberg to latest version
 * Updated internal dependencies

#### 1.1.1

 * Added option for setting global default line height

#### 1.1.0

 * Added better code editor

#### 1.0.0

 * Release

## Méta

 *  Version **1.1.3**
 *  Dernière mise à jour **il y a 1 semaine**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 6.7 ou plus **
 *  Testé jusqu’à **7.0**
 *  Version de PHP ** 8.1 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/code-syntax-highlighting-block/)
 * Étiquettes
 * [code](https://fr.wordpress.org/plugins/tags/code/)[syntax highlighting](https://fr.wordpress.org/plugins/tags/syntax-highlighting/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/code-syntax-highlighting-block/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Your review](https://wordpress.org/support/plugin/code-syntax-highlighting-block/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/code-syntax-highlighting-block/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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