Skip to content

Releases: WebberZone/webberzone-code-block-highlighting

1.0.0

12 Apr 13:05

Choose a tag to compare

  • 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.