plugin-icon

Simple Code Block Highlighter

Von zohebtg·
Enhances WordPress code blocks with line numbers, copy functionality, automatic syntax highlighting, and light or dark themes.
Version
1.2.2
Zuletzt aktualisiert
May 21, 2026
Simple Code Block Highlighter

Simple Code Block Highlighter enhances the default WordPress code and preformatted blocks. It can show line numbers, add a copy-to-clipboard button, switch between light and dark display themes, and automatically color code blocks with bundled Highlight.js syntax highlighting.

The plugin uses the WordPress Settings API, validates and sanitizes saved options, escapes admin output, and avoids inline JavaScript-generated HTML for line numbers. Syntax highlighting is served from the plugin files and does not load a third-party CDN on visitor pages.

For setup help, read the Simple Code Block Highlighter guide.

Third-party Libraries

This plugin bundles Highlight.js 11.11.1 for syntax highlighting.

Highlight.js Source: Highlight.js on GitHub License: BSD 3-Clause License file included at: assets/vendor/highlightjs/LICENSE

Kostenlosmit kostenpflichtigen Tarifen
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 7.0
Dieses Plugin steht für deine -Website zum Download zur Verfügung.