WordPress plugin · 2026

Code Block

A code block for the block editor with syntax highlighting, line numbers and a copy button — without extra scripts on the site.

Code Block — plugin screenshot

About the project

Highlighting happens in the editor and is saved as ready HTML, so pages stay fast.

Old Code Block Pro blocks are shown correctly and can be converted to this block.

What I did

  • 7 themes, line numbers, highlighted lines
  • Header with language or window dots
  • Copy button
  • No highlighting scripts on the front end
  • Conversion from Code Block Pro

Year
2026

Type
WordPress plugin

Stack
WordPress, PHP, JavaScript, Gutenberg

Version
1.2.1

Screens

Code Block — Code block on the site
Code block on the site
Code Block — Block in the editor
Block in the editor
Planning a new project?

Let’s turn your ideas into something real