Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Kebo Code

Descripción

(note: Gutenberg Editor Required)

A syntax / code highlighter Gutenberg block. Paste your code into the block, set the language and see your code highlighted exactly like it will display on the frontend.

Features

  • Syntax highlighting block for the Gutenberg Editor
  • Switch between editor and preview, see exactly what will appear on the frontend.
  • Supports 121 languages, listed here.
  • 2 Themes, VSCode Dark+ and Github, see the screenshots below. (more coming soon)
  • Static HTML output, no frontend scripts or user tracking.

Capturas

  • Kebo Code block in the Gutenberg editor.
  • Frontend display using VSCode Dark+ Theme.
  • Frontend display using Github Theme.

FAQ

Why does it require Gutenberg?

The way the plugin highlights the text, as it is being edited, requires the Gutenberg editor/environment, which means the plugin would do nothing without it.

Specifically, it uses CodeMirror’s runMode function to process highlighting in real-time.

Which scipts and languages does it support?

All scripts and languages supported by CodeMirror, listed here.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Kebo Code» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Kebo Code» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

v 1.0.1

  • Fix: Resolved error caused by bad filemtime() call, replaced with plugin version as more efficient.
  • Fix: Corrected plugin version in main php file.

v 1.0.0

  • First public version of the plugin.
  • Contains a single Gutenberg block which syntax highlights code.