Releases: WebberZone/webberzone-code-block-highlighting
Releases · WebberZone/webberzone-code-block-highlighting
Release list
v1.1.0
Changelog
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.
Full Changelog: v1.0.0...v1.1.0
1.0.0
- Initial release.
- Extends
core/codewith 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.