WebberZone Code Block Highlighting

Changelog

1.1.0 (10 June 2026)

Release Date – 10 June 2026

Release post: https://webberzone.com/announcements/code-block-highlighting-v1-1-0/

  • New: Server-side highlighting mode powered by highlight.php — syntax is pre-rendered on the server with no JavaScript required for highlighting.
  • New: All 21 Prism themes work identically in both client-side and server-side modes. Server mode now outputs Prism-compatible token classes and loads the same theme CSS, so switching modes produces no visual difference.
  • New: Added “Plain Text” language option to the language picker. Renders with Prism theme styling but no syntax highlighting.
  • Fix: Duplicate language-* class on <code> elements in client mode when the saved block HTML already carried the class.

1.0.0 (3 May 2026)

Release Date – 3 May 2026

Release post: https://webberzone.com/announcements/code-block-highlighting-v1-0-0/

  • Initial release.
  • Extends core/code with Prism.js syntax highlighting — no block replacement, no block validation errors.
  • 40 supported languages with per-block language selection.
  • 21 built-in Prism themes selectable from the settings page.
  • Per-block controls: language, line numbers, start line, word wrap, title, highlight lines, and max height.
  • Expand/collapse toolbar button for blocks with a max-height set.
  • Smart asset loading — Prism CSS and JS only enqueued on pages containing code blocks.
  • Copy-to-clipboard and show-language toolbar buttons (configurable globally).
  • Global settings page for colour scheme, default language, and more.
  • Developer filters: wzcbh_languages, wzcbh_color_scheme_css_url, wzcbh_force_load_assets.
  • GDPR-friendly: no data collection, no external requests.

Plugin Website
Visit website

Author
Ajay
Version:
1.1.0
Last Updated
June 10, 2026
Requires
WordPress 6.6
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.