Code Syntax Highlighting Block

Опис

A WordPress plugin that provides a Gutenberg block for displaying computer source code with syntax-highlighting. Uses highlight.js 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

Скріншоти

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

Блоки

Цей плагін надає 1 блок.

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

Часті питання

Why no line numbers?

Because highlight.js does not have them.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Code Syntax Highlighting Block” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Code Syntax Highlighting Block” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

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