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” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

ບັນທຶກການປ່ຽນແປງ

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