WordPress plugin intelligence profile

Syntax Highlight Nano

Adds modern syntax highlighting to WordPress's standard code block using the robust highlight.js library.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.2.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update17 Sept 20261mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Syntax Highlight Nano version 1.2.1 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Syntax Highlight Nano adds beautiful, customizable syntax highlighting to WordPress’s core code block.

It integrates seamlessly with the Gutenberg editor, providing a consistent look and feel between the editor and the frontend.

Because it extends the existing “Code” block, there is no need for a separate custom block or switching between different block types.

js, ensuring accurate and performant syntax highlighting for a wide variety of languages.

Features

  • Automatic language detection: Intelligently detects the programming language of your code.
  • Customizable header: Optionally display a header above the code block with a filename or language name.
  • Line numbers: Toggle line numbers on or off to improve code readability.
  • Copy to clipboard button: A convenient button appears on hover, allowing users to copy the code with a single click.
  • 10 color themes: Choose from light and dark themes including GitHub, Monokai, Solarized, and Catppuccin.
  • Lightweight and performant: Uses highlight.js for efficient, optimized syntax highlighting.
  • WordPress best practices: Built following WordPress development standards.

How to Use

  • Install and activate the plugin.
  • In the WordPress editor, add a standard “Code” block.
  • Enter your code.
  • In the block settings sidebar, you can:
  • Select a programming language (or leave it for automatic detection).
  • Add a filename.
  • Toggle header visibility.
  • Toggle line number visibility.
  • The code block will be automatically highlighted on the frontend.

Privacy

This plugin does not collect any personal data. It does not set cookies or connect to external services. All processing happens locally on your server and in the user’s browser.

Credits

js (BSD 3‑Clause License).

Copyright (c) 2006, Ivan Sagalaev

js

The Catppuccin themes are based on @catppuccin/highlightjs (MIT License).

Copyright (c) 2021 Catppuccin

com/catppuccin/highlightjs

Support

org/support/plugin/syntax-highlight-nano/

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • code block
  • highlight js
  • syntax highlighting
  • gutenberg
  • highlight.js
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity17 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.2.01.2.1
Version1.1.61.2.0
WordPress compatibility7.0.47.1
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.