Title: Code Syntax Highlighting Block
Author: hbgl
Published: <strong>11 de Xuño, 2025</strong>
Last modified: 23 de Maio, 2026

---

Buscar plugins

![](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

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

[Descargar](https://downloads.wordpress.org/plugin/code-syntax-highlighting-block.1.1.3.zip)

 * [Detalles](https://gl.wordpress.org/plugins/code-syntax-highlighting-block/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/code-syntax-highlighting-block/#reviews)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/code-syntax-highlighting-block/#developers)

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

## Descrición

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)

## Capturas

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

## Blocks

Este plugin proporciona 1 bloque.

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

## Preguntas frecuentes

### Why no line numbers?

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

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Code Syntax Highlighting Block” é un software de código aberto. As seguintes persoas
colaboraron con este plugin.

Colaboradores

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

[Traduce “Code Syntax Highlighting Block” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/code-syntax-highlighting-block)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/code-syntax-highlighting-block/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/code-syntax-highlighting-block/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/code-syntax-highlighting-block/)
por [RSS](https://plugins.trac.wordpress.org/log/code-syntax-highlighting-block/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 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

## Meta

 *  Versión **1.1.3**
 *  Última actualización **Fai 2 días**
 *  Instalacións activas **Menos de 10**
 *  Versión de WordPress ** 6.7 ou superior **
 *  Probado ata **7.0**
 *  Versión de PHP ** 8.1 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/code-syntax-highlighting-block/)
 * Etiquetas
 * [code](https://gl.wordpress.org/plugins/tags/code/)[syntax highlighting](https://gl.wordpress.org/plugins/tags/syntax-highlighting/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/code-syntax-highlighting-block/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

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

[Ver todas as valoracións](https://wordpress.org/support/plugin/code-syntax-highlighting-block/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/code-syntax-highlighting-block/)