🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Syntax Highlight Nano icon
Actively maintained Tested with WP 7.1

Syntax Highlight Nano

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

Active installs10+10+ tier
Downloads · 30d86▲ +1.2% vs prev. 30d
Rating—0 reviews
Health score62/100Good
All-time downloads1.1KSince Dec 2025
Support resolved—No recent threads
RequiresWP 6.0PHP 7.4+
Downloads · 7d21▼ -16% week over week
Our verdict

Solid choice

Syntax Highlight Nano is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 months ago, and scores 62/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

81726Sep 4Oct 18Dec 2
Yesterday7
Daily average (1y)3
Peak day40Jul 28, 2026
Last 12 months1.1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Syntax Highlight Nano stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins →
code block >100 10,000 Best code block plugins →
gutenberg >100 8,556 Best gutenberg plugins →
highlight.js #11 50 Best highlight.js plugins →
syntax highlighting #59 368 Best syntax highlighting plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

About Syntax Highlight Nano

From the official readme · v1.2.1

Description

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.
This plugin is built on top of highlight.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

  1. Install and activate the plugin.
  2. In the WordPress editor, add a standard “Code” block.
  3. Enter your code.
  4. 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.
  5. 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

This plugin uses highlight.js (BSD 3‑Clause License).
Copyright (c) 2006, Ivan Sagalaev
https://github.com/highlightjs/highlight.js

The Catppuccin themes are based on @catppuccin/highlightjs (MIT License).
Copyright (c) 2021 Catppuccin
https://github.com/catppuccin/highlightjs

Support

For support, feature requests, and bug reports, please use the support forum: https://wordpress.org/support/plugin/syntax-highlight-nano/

Installation

  1. Log in to your WordPress admin dashboard.
  2. Go to Plugins > Add New.
  3. Search for “Syntax Highlight Nano”.
  4. Click Install Now, then click Activate.

Changelog

Improved language detection and copy button experience.

1.2.1

  • Fixed the support link, which pointed to a repository that does not exist. Support is now handled on the WordPress.org support forum.

1.2.0

  • New: Four color themes added: Solarized Light, Solarized Dark, Catppuccin Latte, and Catppuccin Mocha. Pick one under Settings > Syntax Highlight Nano.
  • Tested up to WordPress 7.1.

1.1.6

  • Bug fix: Translations for the block editor and the settings screen were never applied on non-English sites, because the translation catalogs did not match the built scripts. Japanese now displays correctly.
  • Improvement: Bundled PHP translation files (.l10n.php) so translations load faster on WordPress 6.5 and above.
  • Improvement: Removed development files and screenshot assets from the plugin package, reducing the download size by about 500 KB.

1.1.5

  • Tested up to WordPress 7.0.

1.1.4

  • Bug fix: Line numbers, header, and copy button now take their color from the selected highlight.js theme instead of the site theme, so they stay readable when a dark code theme is used on a light site (and vice versa).
  • Bug fix: The checkmark shown after a successful copy is now colored correctly.
  • Build: Switched the build pipeline to @wordpress/scripts.

1.1.3

  • Style: Migrated to CSS custom properties based on design tokens.

Full changelog on WordPress.org →

Screenshots

Code block in the WordPress editor with syntax highlight settings.
Code block in the WordPress editor with syntax highlight settings.
Frontend display with syntax highlighting, header, and line numbers.
Frontend display with syntax highlighting, header, and line numbers.
Copy‑to‑clipboard button appearing on hover.
Copy‑to‑clipboard button appearing on hover.
Block settings panel with language selection and customization options.
Block settings panel with language selection and customization options.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Syntax Highlight Nano alternatives

All code plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 3 weeks ago 97
2 Code Snippets Code Snippets Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code… by Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (512) 1 week ago 92
3 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) 3 months ago 71
4 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) 2 years ago 51
5 Shortcoder — Create Shortcodes for Anything Shortcoder — Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ ★★★★★★★★★★ 4.9 (227) 3 months ago 77
6 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ ★★★★★★★★★★ 4.4 (30) 3 years ago 45
7 SyntaxHighlighter Evolved SyntaxHighlighter Evolved Easily post syntax-highlighted code to your site without having to modify the code at all… by Alex Mills 20K+ ★★★★★★★★★★ 4.3 (86) 19 hours ago 91
8 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) 1 week ago 87
9 Advance Custom HTML – Show Live Code, Share Snippets, Embed Code, and Style Them Your Way. Advance Custom HTML Advance Custom HTML lets you write and display HTML, CSS, PHP, and other code snippets on… by bPlugins 10K+ ★★★★★★★★★★ 2.5 (4) 1 day ago 68
10 Highlighting Code Block Highlighting Code Block Add code block with syntax highlighting using prism.js. (Available for Gutenberg and… by LOOS 10K+ ★★★★★★★★★★ 4.5 (20) 5 months ago 62

FAQ

Syntax Highlight Nano: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Syntax Highlight Nano free?

Yes. Syntax Highlight Nano is free to download and use from the official WordPress.org plugin directory.

Is Syntax Highlight Nano safe to use in 2026?

Syntax Highlight Nano is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 months ago, and scores 62/100 on our health check.

How many websites use Syntax Highlight Nano?

Syntax Highlight Nano is active on 10+ WordPress websites and has been downloaded 1,095 times since it launched in December 2025. It was downloaded 86 times in the last 30 days.

Does Syntax Highlight Nano work with WordPress 7.1?

Yes. The developer has tested Syntax Highlight Nano up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does Syntax Highlight Nano need?

Syntax Highlight Nano requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Syntax Highlight Nano last updated?

The latest version, 1.2.1, was released on September 17, 2026 (3 months ago).

Who makes Syntax Highlight Nano?

Syntax Highlight Nano is developed and maintained by Takashi Fujisaki.

What are the best alternatives to Syntax Highlight Nano?

The most popular alternatives to Syntax Highlight Nano are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open