🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Prism Syntax Highlighter (detached) icon
Möglicherweise aufgegeben Tested up to 3.5.2 #6 in prism

Prism Syntax Highlighter (detached)

Adds Prism Syntax Highlighting to WordPress, using custom fields for your code examples.

Aktive Installationen10+10+ Stufe
Downloads · 30d52▲ +30% vs prev. 30d
Wertung5/53 Bewertungen
Gesundheits-Score30/100In Gefahr
Downloads aller Zeiten3.3KSeit September 2012
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.4.0PHP ANY
Downloads · 7d11▼ -45% week over week
Unser Urteil

Betrachten Sie eine Alternative

Prism Syntax Highlighter (detac… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 13 years ago, and scores 30/100 on our health check.

  • Kleine Benutzerbasis (10+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • No update in 13 years
  • Only tested up to WordPress 3.5 (latest is 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

3711Aug 31Oct 14Nov 28
Gestern0
Täglicher Durchschnitt (1 Jahr)1
Spitzentag15Sep 11, 2026
Letzte 12 Monate396

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Prism Syntax Highlighter (d… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
prism #75 80 Best prism plugins →
syntax highlighting >100 365 Best syntax highlighting plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.5100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 3 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Prism Syntax Highlighter (detached)

From the official readme · v1.5

Beschreibung

Integrates the Prism Syntax Highlighting Library in WordPress.

It is called detached, since the code examples are not stuffed into the rich text editor, together with all the
other texts and content, but they are added separately as custom fields and just referenced via short tags (like footnotes).

Check Other Notes for usage documentation.

The official development repository is hosted on Github.

Verwendung

The basic procedure is:

  1. Create a custom field and paste the code into it.
  2. Insert the [prism ...] shorttag in your code, where you want the code block to appear.

Shorttag

[prism key=".." language=".." line=".." line_offset=".." post=".."]
  • key: the name of the custom field, which contains the code (required)
  • language: the language to highlight
  • line: highlighted lines (for syntax, check the offical docs)
  • line_offset: the offset, with which the line numbering should start
  • post: if you want to include a code piece of another post, you can explicitly specify the post id here

Cached Assets loader

The plugin includes (from v1.3 on) a cached assets loader, so that all needed assets are concatenated into
one js and one css file to minimize the HTTP requests.
To make use of the cached assets loader, just create a directory /cache/ inside your plugin directory and make it writable for PHP.

Supported languages

Only the ones from the official PrismJS repository

  • bash (Bash Unix Shell)
  • c
  • clike
  • coffeescript
  • cpp (C++)
  • css
  • groovy
  • java
  • javascript
  • markup (like: xHTML, MathML, SVG, LaTeX, RSS, XML, OWL, etc.)
  • php
  • python
  • scss (Sassy CSS)
  • sql

Creating Custom Extensions

Please read the wiki page: Creating A Custom Extension.

Installation

  1. Upload the files to your /wp-content/plugins/ directory
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress

Änderungsprotokoll

No upgrade notice yet, just use it and give feedback. :-)

1.5

  • Updated PrismJS to commit: 07c0f4f6b2
  • Added plugin descriptions
  • Added new plugins: File Highlight, WebPlatform Docs
  • Added language-code descriptions
  • Added new languages: Bash (Unix Shell), C, C-like, Coffeescript, C++, Groovy, PHP, Python, Sassy CSS, and SQL
  • Added new themes: Okaida, Tomorrow, Twilight
    ** 1.5 update brought to you by JC John Sese Cuneta (http://jcsesecuneta.com) ** thank you!

1.4

  • Fixed a compatibility problem with older PHP versions (< 5.4)

1.3

  • Minor optical updates of the admin interface
  • Refactored nearly complete plugin
  • Added support for generic extensions
  • Added cached assets loader
  • Added support for experimental PHP plugin

1.2

  • Updated the prism library to 34f0bd5247

1.1

  • Load line-highlight correctly
  • Moved html attributes to the correct tag
  • Fixed wrong asset loading

1.0

  • Initial commit

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Add the code as custom field and reference it in the rich text editor via shortcode.
Add the code as custom field and reference it in the rich text editor via shortcode.
Code highlighting in the frontend
Code highlighting in the frontend
You can also specify some lines, which should be marked
You can also specify some lines, which should be marked
Code highlighting with marked lines in the frontend
Code highlighting with marked lines in the frontend
Plugin options screen
Plugin options screen

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.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Prism Syntax Highlighter (det… alternatives

All prism plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 APH Prism Syntax Highlighter APH Prism Syntax Highlighter Bringing Prism into WordPress easily. User-friendly GUI, support both classic editor and… by Agus Prawoto Hadi 90+ ★★★★★★★★★★ 3.9 (7) Vor 4 Jahren 33
2 AH Code Highlighter AH Code Highlighter The easiest to use code highlighting ever. Choose between 8 different color themes to… by Andreas Hecht 50+ ★★★★★★★★★★ 5 (1) Vor 8 Jahren 32
3 WP Prism Syntax Highlighter WP Prism Syntax Highlighter A lightweight and convenient plugin to integrate Prism Syntax Highlighter into WordPress. by GuiTeK 30+ ★★★★★★★★★★ 5 (2) Vor 12 Jahren 31
4 Prism Syntax Highlighter Prism Syntax Highlighter Prism is a new lightweight, extensible syntax highlighter, built with modern web standards… by Gilbert Pellegrom 20+ ★★★★★★★★★★ Keine Bewertungen Vor 14 Jahren 24
5 Vaaky Highlighter — Syntax Highlighter, Code Blocks, Line Numbers for Gutenberg Vaaky Highlighter Lightweight syntax highlighter with code blocks, line numbers, copy-to-clipboard, and 35+… by WebHat 10+ ★★★★★★★★★★ 4.5 (2) Vor 6 Monaten 51
6 Alkane Code Alkane Code A TinyMCE code editor with Prism syntax highlighting. by alkanesolutions 10+ ★★★★★★★★★★ Keine Bewertungen Vor 4 Jahren 23
7 Melonpan Block – Code Melonpan Block – Code Block to display code, with highlighted syntax, which can be copied to the clipboard. by Alvaro 10+ ★★★★★★★★★★ Keine Bewertungen Vor 6 Jahren 23
9 Syntax Highlighter with PrismJS Syntax Highlighter with PrismJS A syntax highlighter using PrismJs. by mohamad wael <10 ★★★★★★★★★★ Keine Bewertungen Vor 4 Jahren 21
10 WebberZone Code Block Highlighting WebberZone Code Block Highlighting Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus… by Ajay <10 ★★★★★★★★★★ Keine Bewertungen Vor 1 Tag 64
11 Zeddotes Enhanced Code Block Zeddotes Enhanced Code Block Extends the core Code block with language selection (Prism.js) and a configurable copy… by zeddotes <10 ★★★★★★★★★★ Keine Bewertungen Vor 4 Monaten 49

Fragen und Antworten

Prism Syntax Highlighter (detached): quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Prism Syntax Highlighter (detac… free?

Yes. Prism Syntax Highlighter (detac… is free to download and use from the official WordPress.org plugin directory.

Is Prism Syntax Highlighter (detac… safe to use in 2026?

Prism Syntax Highlighter (detac… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 13 years ago, and scores 30/100 on our health check.

How many websites use Prism Syntax Highlighter (detac…?

Prism Syntax Highlighter (detac… is active on 10+ WordPress websites and has been downloaded 3,335 times since it launched in September 2012. It was downloaded 52 times in the last 30 days.

Does Prism Syntax Highlighter (detac… work with WordPress 7.1?

Prism Syntax Highlighter (detac… is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Prism Syntax Highlighter (detac… last updated?

The latest version, 1.5, was released on July 30, 2013 (13 years ago).

Who makes Prism Syntax Highlighter (detac…?

Prism Syntax Highlighter (detac… is developed and maintained by apfelbox.

What are the best alternatives to Prism Syntax Highlighter (detac…?

The most popular alternatives to Prism Syntax Highlighter (detac… are APH Prism Syntax Highlighter (90+ installs), AH Code Highlighter (50+ installs) and WP Prism Syntax Highlighter (30+ 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

↑↓ bewegen↵ öffnen