Skip to content
WebberZone
  • Home
  • PluginsExpand
    • User Retention Suite
    • Contextual Related Posts
    • Top 10
    • Better Search
    • Knowledge Base
    • Snippetz
    • Link Warnings
    • Code Block Highlighting
    • Image Optimizer
    • Auto Close
  • BlogExpand
    • Announcements
    • WordPress Tutorials
  • Help CenterExpand
    • Documentation
    • Support
    • Developer ReferenceOpens in a new window
  • About
WebberZone
WebberZone
Skip to content
  1. Home
  2. Documentation
  3. Code Block Highlighting

Code Block Highlighting

Syntax highlighting for the Gutenberg Code block using Prism.js or highlight.php

Getting Started2

  • Code Block Highlighting Settings Reference
  • Getting Started with WebberZone Code Block Highlighting

Advanced2

  • Client-Side vs Server-Side Highlighting
  • Per-Block Controls

Developer Docs1

  • Code Block Highlighting Developer Reference

Documentation

  • General
  • Snippetz (formerly Add to All)
    • Advanced
      • External CSS and JS Files
      • Feed Customization and Placeholders
    • Developer Docs
      • WebberZone Snippetz Developer Reference
    • Getting Started
      • Installing WebberZone Snippetz
      • Snippetz Shortcode and Block
      • Using the Snippets Manager
      • WebberZone Snippetz Settings
  • Auto-Close
    • Advanced
      • AutoClose Metabox and Close Dates
      • AutoClose WP-CLI
      • Excluding Posts and Terms from AutoClose
      • Scheduling the AutoClose Cron
    • Getting Started
      • AutoClose Settings
      • AutoClose Tools Page
      • Installing AutoClose
  • Better Search
    • Advanced
      • “Did You Mean” Spelling Suggestions in Better Search Pro
      • Better Search Shortcodes
      • Customizing the Heatmap and Popular Searches Widget
      • Debugging with Query Monitor
      • Efficient Content Storage and Indexing (ECSI) in Contextual Related Posts Pro and Better Search Pro
      • Enable AJAX Live Search
      • Fuzzy Searches in Better Search Pro
      • How the Better Search Algorithm Works
      • Multisite Search
      • Search Redirects in Better Search Pro
    • Developer Docs
      • Better Search Pro CLI Overview
      • Better Search REST API integration for search results
      • Building an Advanced WordPress Search with Better_Search_Query
      • Understanding Better Search Templates
      • WordPress Search Term Highlighting in Better Search
    • Getting Started
      • Better Search Feature Manager
      • Better Search Settings – Output
      • Better Search Settings – Performance
      • Better Search Settings – Search
      • Better Search Settings – General
      • Better Search Settings – Heatmap
      • Free vs Pro: Better Search
      • Installing Better Search
  • Code Block Highlighting
    • Advanced
      • Client-Side vs Server-Side Highlighting
      • Per-Block Controls
    • Developer Docs
      • Code Block Highlighting Developer Reference
    • Getting Started
      • Code Block Highlighting Settings Reference
      • Getting Started with WebberZone Code Block Highlighting
  • Contextual Related Posts
    • Advanced
      • Contextual Related Posts Blocks
      • Contextual Related Posts shortcode
      • Cornerstone Posts in Contextual Related Posts Pro
      • Debugging with Query Monitor
      • Efficient Content Storage and Indexing (ECSI) in Contextual Related Posts Pro and Better Search Pro
      • How the Contextual Related Posts Algorithm Works
      • Lazy Loading Related Posts
      • Server Load Threshold Setting in Contextual Related Posts Pro
      • Styling Contextual Related Posts
      • Troubleshooting Related Posts do not display
    • Developer Docs
      • Contextual Related Posts CLI Overview
      • Customizing the output of Contextual Related Posts
      • Display related posts with CRP_Query
      • WP REST API Integration
    • Getting Started
      • Caching in Contextual Related Posts
      • Contextual Related Posts – Metabox
      • Contextual Related Posts Settings – Features
      • Contextual Related Posts Settings – Feed
      • Contextual Related Posts Settings – General
      • Contextual Related Posts Settings – List tuning
      • Contextual Related Posts Settings – Output
      • Contextual Related Posts Settings – Performance
      • Contextual Related Posts Settings – Styles
      • Contextual Related Posts Settings – Thumbnail
  • Followed Posts
    • Advanced
      • Contextual Related Posts integration
      • Displaying followed posts
      • Followed Posts block
      • Followed Posts shortcode
      • How followed posts tracking works
      • Manually setting followed posts
    • Developer Docs
    • Getting Started
      • Followed Posts settings
      • Installing WebberZone Followed Posts
      • Tools page
  • WebberZone Image Optimizer
    • Advanced
      • How the Queue Works in WebberZone Image Optimizer
      • Multisite Support in WebberZone Image Optimizer
      • WebberZone Image Optimizer WP-CLI
    • Developer Docs
      • How AVIF Encoder Speed Is Chosen
      • WebberZone Image Optimizer Developer Reference
    • Getting Started
      • Bulk Optimize in WebberZone Image Optimizer
      • Getting Started with WebberZone Image Optimizer
      • Image Optimizer Settings
      • Media Library Integration in WebberZone Image Optimizer
      • Migrating from Another Image Optimizer
      • WebberZone Image Optimizer vs. Modern Image Formats, WebP Express, and Converter for Media
  • Knowledge Base WordPress plugin
    • Advanced
      • Documentation Layout
      • Exporting and Importing Articles
      • Knowledge Base Permalinks Tutorial
      • Knowledge Base shortcodes
      • Knowledge Base Styles Customisation Guide
      • Knowledge Base Styles Customization Guide
      • Migration Guide: Knowledge Base v2.3 to v3.0
      • Privacy Policy Text for Knowledge Base Article Ratings
      • Syncing Docs with GitHub
      • Table of Contents
    • Developer Docs
      • Knowledge Base Related Articles
      • Knowledge Base REST API
    • Getting Started
      • Exporting and Importing Settings
      • Free vs Pro: Knowledge Base
      • Importing from BasePress, BetterDocs and Echo Knowledge Base
      • Installing Knowledge Base
      • Knowledge Base Pro Help Widget
      • Knowledge Base Pro Rating System
      • Knowledge Base Settings
      • Live Search
      • Setup Wizard and Sample Content
  • Link Warnings
    • Advanced
      • Styling WebberZone Link Warnings
    • Developer Docs
      • Customizing the Redirect Screen in WebberZone Link Warnings
      • WebberZone Link Warnings Developer Reference
    • Getting Started
      • Getting Started with WebberZone Link Warnings
      • Suppress or force link warnings using CSS classes
      • WebberZone Link Warnings Settings Reference
  • Popular Authors
    • Advanced
      • Blocks in Popular Authors
      • Popular Authors Shortcodes
      • Popular Authors Styles
      • Popular Authors Template Tags
    • Getting Started
      • Installing Popular Authors
      • Popular Authors and Top 10 Integration
      • Popular Authors Frequently Asked Questions
      • Popular Authors Settings
  • Top 10
    • Advanced
      • Blocks in Top 10
      • Bulk-edit counts in Top 10
      • Debugging with Query Monitor
      • Disable Top 10 Dashboard Widgets
      • Display popular posts with Top_Ten_Query
      • Page Builder Integrations for Top 10 Pro
      • Styling Top 10 Popular Posts
      • Top 10 Multisite Network Performance
      • Top 10 shortcodes
      • Trackers in Top 10 – WordPress Popular Posts plugin
    • Developer Docs
      • WP-CLI commands in Top 10 Pro
    • Getting Started
      • Admin Enhancements in Top 10 Pro
      • Caching in Top 10
      • Free vs Pro: Top 10
      • Installing Top 10
      • Top 10 – Tools Admin Screen
      • Top 10 Settings – Counter and tracker options
      • Top 10 Settings – Features
      • Top 10 Settings – General options
      • Top 10 Settings – Maintenance
      • Top 10 Settings – Popular Post list options

Popular Docs

  • Customizing the output of Contextual Related Posts
  • How to manage your Pro license for WebberZone’s WordPress plugins
  • Top 10 shortcodes
  • Contextual Related Posts shortcode
  • Multisite Search
  • How the Contextual Related Posts Algorithm Works
  • Free vs Pro: Knowledge Base
  • Better Search Settings – Search
  • Fuzzy Searches in Better Search Pro
  • Contextual Related Posts Settings – General

WordPress tips and release notes. No filler.

WebberZone

WordPress plugins that keep Readers reading.

Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window

WordPress Plugins

User Retention Suite

Contextual Related Posts

Top 10

Better Search

Knowledge Base

Link Warnings

Image Optimizer

Code Block Highlighting

Snippetz

AutoClose

Resources

Announcements

Blog

Newsletter

Documentation

Developer ReferenceOpens in a new window

Contact us

Company

About Us

Brand Assets

Privacy Policy

Terms

Refund Policy

Disclosure

Sitemap

Copyright © 2004-2026. WebberZone. A Beyond Develop Ltd brand. All rights reserved.

Visit BeyondDevelop.comOpens in a new window

The WordPress® trademark is the intellectual property of the WordPress Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WordPress®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation or WooCommerce, Inc. WebberZone or Beyond Develop are not endorsed or owned by, or affiliated with, the WordPress Foundation or WooCommerce, Inc.

Hi! How can we help you?

Suggested articles

  • WebberZone Image Optimizer Developer Reference The full developer reference for WebberZone Image Optimizer lives at webberzone.dev, a site generated directly from the plugin source. It…
  • How AVIF Encoder Speed Is Chosen The AVIF encoder effort setting is a 0–6 dial that belongs to the plugin, not to any encoder. Each driver…
  • WebberZone Image Optimizer WP-CLI WebberZone Image Optimizer registers WP-CLI commands under wp wzio, useful for converting a library from a script, cron job, or…
  • Multisite Support in WebberZone Image Optimizer WebberZone Image Optimizer is multisite-aware: settings, the conversion queue and per-image conversion records are all per site, exactly as if…
  • How the Queue Works in WebberZone Image Optimizer WebberZone Image Optimizer converts images through a database-backed queue rather than during a page render. This is what makes the…

Search results

Send us a message

External URL:
Scroll to top
  • Home
  • Plugins
    • User Retention Suite
    • Contextual Related Posts
    • Top 10
    • Better Search
    • Knowledge Base
    • Snippetz
    • Link Warnings
    • Code Block Highlighting
    • Image Optimizer
    • Auto Close
  • Blog
    • Announcements
    • WordPress Tutorials
  • Help Center
    • Documentation
    • Support
    • Developer ReferenceOpens in a new window
  • About
Search