Syntax-highlighting Code Block (with Server-side Rendering)
Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.
Solide Wahl
Syntax-highlighting Code Block… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 6 months ago, and scores 66/100 on our health check.
- Loved by users — 5/5 from 26 reviews
- Momentum — downloads up 39.7% vs the previous 30 days
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Syntax-highlighting Code Bl… stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Block | >100 |
| code | #33 |
| code highlighting | #4 |
| code syntax | #4 |
| syntax highlight | #2 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 26 reviews
About Syntax-highlighting Code Block (with Se…
From the official readme · v1.5.2Beschreibung
This plugin extends the Code block in WordPress core to add syntax highlighting which is rendered on the server. Pre-existing Code blocks on a site are automatically extended to include syntax highlighting. Doing server-side syntax highlighting eliminates the need to enqueue any JavaScript on the frontend (e.g. Highlight.js or Prism.js) and this ensures there is no flash of unhighlighted code (FOUC?). Reducing script on the frontend improves frontend performance, and it also allows for the syntax highlighted code to appear properly in AMP pages as rendered by the official AMP plugin (see also ampproject/amp-wp#972) or when JavaScript is turned off in the browser.
This extended Code block uses language auto-detection to add syntax highlighting, but you can override the language in the block’s settings sidebar. (There is currently no syntax highlighting of the Code block in the editor, but see #8.) The plugin supports all programming languages that highlight.php supports (being a port of highlight.js). The Code block also is extended to support specifying lines to highlight which get marked up with mark elements (including in RSS feeds). There is also a checkbox for whether to show line numbers on the frontend (with the numbers being non-selectable). Lastly, given inconsistencies across themes regarding whether lines in a Code block should be wrapped, this plugin adds styling to force them to no-wrap by default, with a checkbox to opt in to wrapping when desired.
For advanced usage, please see the plugin wiki.
This plugin is developed on GitHub. See list of current issues with the plugin. Please feel free to file any additional issues or requests that you may come across. Pull requests are welcome. See contributing information.
Credits
This is a fork of Code Syntax Block by Marcus Kazmierczak (mkaz), which is also available on WordPress.org. Copyright (c) 2018 Marcus Kazmierczak. Licensed under GPL 2.0 or later.
highlight.php is released under the BSD 3-Clause License. Copyright © 2006-2013, Ivan Sagalaev (maniac@softwaremaniacs.org), highlight.js (original author). Copyright © 2013, Geert Bergman (geert@scrivo.nl), highlight.php
Änderungsprotokoll
For the plugin’s changelog, please see the Releases page on GitHub.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Syntax-highlighting Code Bloc… alternatives
Alle Block-Plugins →Fragen und Antworten
Syntax-highlighting Code Block (wit…: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Syntax-highlighting Code Block… free?
Yes. Syntax-highlighting Code Block… is free to download and use from the official WordPress.org plugin directory.
Is Syntax-highlighting Code Block… safe to use in 2026?
Syntax-highlighting Code Block… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 6 months ago, and scores 66/100 on our health check.
How many websites use Syntax-highlighting Code Block…?
Syntax-highlighting Code Block… is active on 1K+ WordPress websites and has been downloaded 48,303 times since it launched in July 2019. It was downloaded 1,549 times in the last 30 days.
Does Syntax-highlighting Code Block… work with WordPress 7.1?
Syntax-highlighting Code Block… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Syntax-highlighting Code Block… need?
Syntax-highlighting Code Block… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Syntax-highlighting Code Block… last updated?
The latest version, 1.5.2, was released on May 19, 2026 (6 months ago).
Who makes Syntax-highlighting Code Block…?
Syntax-highlighting Code Block… is developed and maintained by Weston Ruter.
What are the best alternatives to Syntax-highlighting Code Block…?
The most popular alternatives to Syntax-highlighting Code Block… are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


