Developer tools · GUTENBERG BLOCK

Code Comparison.

Side-by-side code comparison block with syntax highlighting, diff markers, labeled panels, copy buttons, line numbers, and a draggable split divider.

SEE IT IN ACTION

A little room to experiment.

Interactive sample content. Figures, names and quotes are illustrative, not claims about Blockenberg customers.

Use the controls to explore the example. Scroll inside longer examples to see more. Your page content stays in the WordPress Block Editor.

MAKE IT YOURS

From this example
to your page.

Explore practical guides →

How do I add Code Comparison in WordPress?

  1. Install and activate Blockenberg, then open a page or post in the native WordPress Block Editor.
  2. Open the block inserter and search for Code Comparison. Add it at the position you want.
  3. Replace the example content with your own. Review the block settings for show diff markers, show line numbers, show copy buttons, show language badge, font size, max height.
  4. Preview the frontend on desktop and mobile, test its interaction and save the page when the result is right.

What can I customize?

Show diff markers, Show line numbers, Show copy buttons, Show language badge, Font size, Max height. The available options depend on the block; use its editor settings to inspect the controls in your installed version.

Does this require Elementor?

No. Blockenberg works in the native WordPress Block Editor. This is a Gutenberg block example.

Where do Free and Pro fit?

The base plugin supplies the block library. Premium page-template and section imports require the appropriate Pro access. Read the Free vs Pro guide or see the current pricing.