🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Lazy Syntax Highlighter icon
Manutenção ativamente Testado com WP 7.1 #13 in code block

Lazy Syntax Highlighter

The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.

Instalações ativas<10Novo
Downloads · 30d70▼ -9.1% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde60/100Justo
Downloads de todos os tempos350Desde setembro de 2026
Suporte resolvido—Sem tópicos recentes
RequerWP 6.3Php 7.4+
Downloads · 7d13▼ -55.2% week over week
Nosso veredicto

Use com cautela

Lazy Syntax Highlighter works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Testado com as últimas WordPress (7.1)
  • Base de usuários pequenas (<10 instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

102131Sep 14Oct 24Dec 3
Ontem2
Média diária (1y)4
Dia de pico42Sep 14, 2026
Últimos 12 meses357

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Lazy Syntax Highlighter stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
code block >100 10,000 Best code block plugins →
code highlighting >100 837 Best code highlighting plugins →
enlighter alternative #1 1 Best enlighter alternative plugins →
prism alternative #4 10 Best prism alternative plugins →
syntax highlighter #19 143 Best syntax highlighter plugins →

About Lazy Syntax Highlighter

Do Readme oficial · v1.3.4

Descrição

Lazy Syntax Highlighter highlights code on the server, once, and caches the result. Your visitors download a couple of kilobytes of CSS and no JavaScript at all. There is no flash of unstyled code, nothing to wait for, and nothing to break when a script fails to load.

Free forever core — server-side rendering, caching, around 185 languages, all five themes, and the full Enlighter compatibility layer are in the free plugin. No block cap, no watermark.

Migrating from Enlighter?

Since WordPress 6.3 moved the post editor into an iframe, Enlighter blocks can render unstyled while you’re writing them — and if you have hundreds of posts already using it, rewriting them all isn’t realistic.

Install Lazy Syntax Highlighter and your existing Enlighter blocks render correctly again immediately, automatically — on the front end and in the editor. Nothing is written to your database. Not one post is modified. Deactivate the plugin and your posts are exactly as they were.

That is not a trial feature. It is in the free plugin, permanently.

Safe to remove, too. Uninstalling Lazy Syntax Highlighter converts every block it created back into a standard WordPress Code block, and the compatibility layers never wrote anything to begin with — so you are never locked in, and removing the plugin never leaves your site broken.

O que você recebe

  • A code block that highlights on the server — the HTML arrives already coloured, with no front-end JavaScript
  • Rendered HTML cached in its own database table, warmed automatically when you save a post
  • Five hand-tuned themes, every token colour checked for WCAG AA contrast
  • Line numbers, line highlighting, a starting line number, and a hover effect
  • Multi-line folding — collapse line ranges behind a summary row, with no front-end JavaScript
  • Inline highlighting — a toolbar button that colours a run of code inside a sentence
  • Syntax highlighting while you type, right in the block editor, with a one-click language guess
  • A header bar — none, or the macOS “headlights” dots — plus site-wide font, size, line-height, corner and padding controls
  • An optional copy-to-clipboard button — about 1 KB, deferred, and loaded only on pages that use it
  • Tab-to-space conversion, so indentation looks the same in every browser
  • Around 185 languages, with PHP, JavaScript, Python, PowerShell, Bash, HTML, CSS, SQL, JSON and YAML given the most attention
  • Code in comments, using Enlighter’s shortcode syntax — existing Enlighter comments keep working untouched
  • WordPress’s own Code blocks are picked up too, so every code block on the site looks the same without touching a single post

Fast by construction

  • Nothing is enqueued on pages without a code block. No CSS, no JavaScript, nothing.
  • Highlighting never runs on a cache hit.
  • Only the one grammar a block actually needs is loaded, not all 185.
  • The cache lives in its own table, never in the autoloaded options blob.
  • If you run Redis or Memcached, a cache hit never touches the database at all.
  • Output is identical for every visitor, so full-page caches and CDNs cache it normally.
  • No webfonts. No external requests. Ever.

Why Lazy Syntax Highlighter

Lazy Syntax Highlighter is built and used daily on a real site — not a feature checklist assembled to compete on paper. If you would rather not ship a highlighting engine to every visitor’s browser, or you want your existing Enlighter blocks converted automatically instead of by hand, that is exactly what this is for.

The free plugin is actively maintained and stays that way. There is a paid add-on, Lazy Syntax Highlighter Pro, but it is built on top of the free plugin — every fix and language improvement lands in the free version first.

It is the second plugin in the Lazy family, alongside LazyLink, and shares the same rules: vanilla PHP and core WordPress APIs, no third-party services, and nothing phoning home.

Lazy Syntax Highlighter Pro

Lazy Syntax Highlighter Pro is an optional paid add-on that installs alongside the free plugin. Same render engine, same zero front-end JavaScript — the extra themes are CSS, the long-code toggle is CSS, and the Enlighter migration runs on the command line. It adds:

  • 19 more themes, 24 in total — Nord, Dracula, Tokyo Night, Solarized, Gruvbox, Night Owl and eleven of VS Code’s own
  • Three more header-bar styles — muted headlights, a language label, and a language pill with optional custom text per block
  • Reader-friendly long code — collapse long snippets behind a “show more” button, with a site-wide line threshold and a per-block override, still with no front-end JavaScript
  • A site-wide default language, and a per-post default, so you are not setting the language on every block
  • wp lsh migrate — convert every Enlighter block on the site to a native block permanently, with a dry run and a full rollback
  • Priority email support

Details and pricing: https://syntax.lazyadmin.nl

Pro is entirely optional. Nothing in the free plugin is time-limited, capped or watermarked, and if a Pro licence ever lapses every block simply falls back to the free plugin’s styling — your posts are never touched, and any blocks already migrated stay converted.

Privacidade

This plugin makes no external HTTP requests, loads no fonts or scripts from third parties, and collects nothing.

Instalação

  1. Instale e ative o plugin.
  2. That is all. Existing Enlighter blocks start rendering correctly straight away.
  3. Optionally visit Lazy Syntax Highlighter in the admin menu to pick a theme — the Themes tab previews all five side by side in the language of your choice.

To add a new block, search the inserter for Highlighted Code, or type /code (or /highlight, or a language name such as /php) on a blank line.

Log de Changes

1.3.4

  • Fix: the editor’s code area could still show a spurious vertical scrollbar and misalign line height and character position after the 1.3.3 fix, in some themes/fonts — the overlay was rebuilt on more robust footing to close the gap.

1.3.3

  • Fix: the editor’s code area could show a spurious vertical scrollbar even though it already grows to fit the code.
  • Fix: clicking or selecting text in the editor’s code area could land on the wrong character after changing the theme, font size, or line numbers.
  • Fix: pressing Ctrl+Z (or Cmd+Z) while editing a code block could corrupt every code block on the page, requiring a full page refresh to recover.

1.3.2

  • New: an “Apply to all code blocks” button next to the language picker, so pasting content with several code blocks only requires setting the language once.
  • Improved: after you set the language on one code block, newly inserted blocks in the same session now default to that language instead of reverting to the site-wide default.
  • Improved: code text is a bit larger on narrow (mobile) screens, where 13px was hard to read.

1.3.1

  • Fixed: a PHP notice (_load_textdomain_just_in_time) on every admin and front-end request with WP_DEBUG on. The theme and header lists were built with their names already translated, during plugins_loaded — too early for WordPress to have loaded any translations. Names are now translated when they are displayed instead.
  • Changed: everything the plugin stores now uses a four-plus-character lazysyhi_ prefix instead of lsh_, so it cannot collide with another plugin. Your settings, render cache and scheduled cleanup are carried over automatically on update — there is nothing to do. Block CSS class names are unchanged, so existing posts are untouched.
  • Changed: the wp lsh migrate bulk-conversion command now ships in Lazy Syntax Highlighter Pro rather than sitting inactive in the free plugin.
  • Fixed: the block editor bundle could be left out of a release archive, which silently removed the “Highlighted Code” block. It is now checked into the repository and verified during packaging.
  • Removed: the Plugin URI header.

1.3.0

  • New: a Free vs Pro tab in the admin screen — what the paid add-on adds, a full feature comparison, pricing and an FAQ. It adapts once Pro is installed, and shows nothing to sell once Pro is active.
  • New: a Help tab — a linkable WP-CLI reference covering wp lsh cache, plus the exact Enlighter attribute mapping the compatibility layer applies.
  • Docs: the readme now states plainly that uninstalling converts blocks back to standard WordPress Code blocks, and that the free plugin stays maintained.

1.2.0

  • Improved: PowerShell, JavaScript, TypeScript, Python and PHP now distinguish declaration/modifier keywords (class, function, const, public, static, this) from control-flow keywords (if, return, for, throw) with a new colour bucket, matching how real code editors like VS Code colour them. Existing code blocks in these five languages will recolour slightly after this update.
  • Fixed: PowerShell cmdlet parameter switches (-Path, -Recurse) no longer share a colour with $variables, in both the front end and the live editor preview.
  • Fixed: PowerShell cmdlet and function-call names (Get-ChildItem, Sort-Object) are now coloured like a function name instead of sharing a colour with type casts like [string]/[int], in both the front end and the live editor preview.
  • Fixed: PowerShell param stays keyword-coloured, matching real code editors, instead of being grouped with declaration keywords.
  • Fixed: PowerShell brackets and braces ((), {}, []) now get a colour instead of rendering as plain text.
  • Fixed: TypeScript interface, class and module names are now coloured; constructor/private/protected/public are no longer left as plain text.
  • The live editor preview (block editor) now applies the same keyword split and PowerShell corrections as the front end, for JavaScript, TypeScript, Python, PHP and PowerShell — what you see while writing now matches what gets published.

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Lazy Syntax Highlighter alternatives

All code block plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 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 meses atrás 62
2 Code Block Copy Button Code Block Copy Button Add a customizable copy button to code blocks for fast, one-click copying. by tcstix 100+ ★★★★★★★★★★ Sem comentários 5 meses atrás 53
3 Easy Syntax Highlighter Easy Syntax Highlighter Modern, lightweight syntax highlighter for WordPress using Highlight.js by tiptinker 30+ ★★★★★★★★★★ Sem comentários 8 meses atrás 28
4 DBlocks CodePro DBlocks CodePro Advanced Custom HTML Block and Code Syntax Highlightering for sharing code snippets and… by DPlugins 10+ ★★★★★★★★★★ 5 (1) 1 mês atrás 64
5 Syntax Highlight Nano Syntax Highlight Nano Adds modern syntax highlighting to WordPress's standard code block using the robust… by Takashi Fujisaki 10+ ★★★★★★★★★★ Sem comentários 3 meses atrás 62
6 Plum Code Box Plum Code Box Plum Code Box makes it easy to insert and manage code blocks using the Chili javascript… by jtgraphic 10+ ★★★★★★★★★★ Sem comentários 16 anos atrás 23
7 Nahnu Code & API Block Nahnu Code & API Block A block suite for developer documentation: syntax-highlighted code snippets plus a full set… by Jaime Alnassim 10+ ★★★★★★★★★★ Sem comentários 3 semanas atrás 66
8 LumiCode Syntax Highlighter LumiCode Syntax Highlighter Beautiful syntax highlighting for WordPress: 40+ languages, copy buttons, line numbers… by cr8vstacks 10+ ★★★★★★★★★★ Sem comentários 2 meses atrás 57
9 codefence.io codefence.io codefence.io is an easy to embed editor and compiler for over 20 server-side programming… by benphelps 10+ ★★★★★★★★★★ Sem comentários 7 anos atrás 23
10 CMH SmartCopy Lite CMH SmartCopy Lite Smart copy buttons, copy rules, appearance controls, and privacy-aware analytics. by CodeMaster Hub <10 ★★★★★★★★★★ Sem comentários 4 meses atrás 54

FAQ

Lazy Syntax Highlighter: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Lazy Syntax Highlighter free?

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

Is Lazy Syntax Highlighter safe to use in 2026?

Lazy Syntax Highlighter works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use Lazy Syntax Highlighter?

Lazy Syntax Highlighter is active on <10 WordPress websites and has been downloaded 350 times since it launched in September 2026. It was downloaded 70 times in the last 30 days.

Does Lazy Syntax Highlighter work with WordPress 7.1?

Yes. The developer has tested Lazy Syntax Highlighter up to WordPress 7.1.5, the latest release. It requires WordPress 6.3 or newer.

What PHP version does Lazy Syntax Highlighter need?

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

When was Lazy Syntax Highlighter last updated?

The latest version, 1.3.4, was released on September 23, 2026 (2 months ago).

Who makes Lazy Syntax Highlighter?

Lazy Syntax Highlighter is developed and maintained by Rudy Mens.

What are the best alternatives to Lazy Syntax Highlighter?

The most popular alternatives to Lazy Syntax Highlighter are Highlighting Code Block (10K+ installs), Code Block Copy Button (100+ installs) and Easy Syntax Highlighter (30+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir