Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Simple Code Block Highlighter Wordpress Plugin - Rating, Reviews, Demo & Download

Simple Code Block Highlighter Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

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 color code by language 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.

Third-party Libraries

This plugin bundles Highlight.js 11.11.1 for syntax highlighting.

Highlight.js
Source: https://github.com/highlightjs/highlight.js
License: BSD 3-Clause
License file included at: assets/vendor/highlightjs/LICENSE

Screenshots

  1. Frontend code block with syntax highlighting, line numbers, and copy button.

    Frontend code block with syntax highlighting, line numbers, and copy button.

  2. Plugin settings page with display options.

    Plugin settings page with display options.


Reviews & Comments