🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
WPygments icon
Peut-être abandonné Testé jusqu'à 3.7.41 #9 in syntax highlight

WPygments

Server side syntax highlighter based on Pygments highlighter software.

Installations actives10+10+ niveaux
Téléchargements · 30D149▼ -6.3% vs prev. 30d
Évaluation5/53 avis
Score de santé30/100En danger
Téléchargements de tous les temps3.7KDepuis mai 2013
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.3Php tout
Téléchargements · 7j29▼ -29.3% week over week
Notre verdict

Envisager une alternative

WPygments 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.

  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 12 ans
  • Uniquement testé jusqu'à WordPress 3,7 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4914Aug 31Oct 14Nov 28
Hier4
Moyenne quotidienne (1 ans)4
Jour de pointe1914 Septembre 2026
12 Derniers mois1.4K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where WPygments stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
syntax highlight >100 314 Best syntax highlight plugins →

Adoption de version

Part de sites actifs par version.

  • 1.1100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 3 avis

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

About WPygments

À partir du Lisezmoi officiel · v1.1.2

Description

Server side syntax highlighter based on Pygments highlighter software.

Installation:

To use this plugin you need pygments in your server:

sudo apt-get install python-setuptools
easy_install Pygments

That’s all. Now you can download the plugin and install it in your WordPress.

Usage

Once you get installed the plugin the usage is straightforward. just enclose your code between tokens named with the corresponding lang:

[javascript]....[/javascript]
[php]....[/php]

See “Languages and filetypes supported” section to know available languages.

Parameters

Tokens support a few parameters (all optionals):

[php **style**="manni" **linenumbers**="table"]....[/php]

style="manni" defines code styling. Currently are 22 available styles.<br>

Default styling is default wich is very nice, but maybe you like other styles. see “Color styles” section.

If you set “linenumbers” to inline or table, the line numbers will be added as independent table column or as part of the line.

Exemples

`

[javascript]
//comment line
var foo = “foo”;
var bar = function(){
var baz;
}
[/javascript]
`

Outputs highlighted js with default style, and no line numbers.

`

[javascript style=”monokai” linenumbers=”inline”]
//comment line
var foo = “foo”;
var bar = function(){
var baz;
}
[/javascript]
`
Outputs highlighted js with monokai style with line numbers (as part of the line).

`

[javascript style=”monokai” linenumbers=”table”]
//comment line
var foo = “foo”;
var bar = function(){
var baz;
}
[/javascript]
`
Outputs highlighted js with monokai style with line numbers (as new column).

Color styles

These are supported color styles:

  • monokai
  • manni
  • rrt
  • perldoc
  • borland
  • colorful
  • default
  • murphy
  • vs
  • trac
  • tango
  • fruity
  • autumn
  • bw
  • emacs
  • vim
  • pastie
  • friendly
  • native

Languages and filetypes supported

Pygments not only highlights languages. also highlights filetypes like .conf Nginx configuration file, Apache (filenames .htaccess, apache.conf, apache2.conf), etc.

NOTE: to use see “Usage” section

important sdsd;

General

  • apacheconf: (.htaccess, apache.conf, apache2.conf)
  • bash, sh, ksh:
    (*.sh, *.ksh, *.bash, *.ebuild, *.eclass, .bashrc, bashrc)
  • ini, cfg: (*.ini, *.cfg)
  • makefile:
    (.mak, Makefile, makefile, Makefile., GNUmakefile)
  • nginx:
    Nginx configuration file
  • yaml:
    (*.yaml, *.yml)
  • perl:
    Perl (*.pl, *.pm)
  • vb.net:
    VB.net (*.vb, *.bas)
  • console:
    Bash Session (*.sh-session)

Javascript

  • javascript: Pure Javascript
  • coffeescript: Pure CoffeeScript
  • json: Pure JSON

PHP

  • cssphp: PHP embedded in CSS
  • htmlphp: PHP embedded in HTML
  • jsphp: PHP embedded in JS
  • php: Pure PHP
  • xmlphp: PHP embedded in XML

Ruby

  • ruby, duby: Ruby (*.rb, *.rbw, *.rake, *.gemspec, *.rbx, *.duby)
  • csserb, cssruby: Ruby embedded in CSS
  • xmlerb, xmlruby: Ruby embedded in XML

CSS and CSS compilers

  • css:
    CSS (*.css)
  • sass:
    Sass (*.sass)
  • scss:
    SCSS (*.scss)

HTML and HTML template systems

  • html:
    HTML (*.html, *.htm, *.xhtml, *.xslt)
  • haml:
    Haml (*.haml)
  • jade:
    Jade (*.jade)

SQL

  • sql:
    SQL (*.sql)
  • sqlite3:
    sqlite3con (*.sqlite3-console)
  • mysql:
    MySQL

Python, jinja & Django

  • python: Pure Python
  • python3: Pure Python 3
  • xmldjango, xmljinja: Django/Jinja embedded in XML
  • cssdjango, cssjinja: Django/Jinja embedded in CSS
  • django, jinja: Pure Django/Jinja
  • htmldjango, htmljinja: Django/Jinja embedded in HTML
  • jsdjango, jsjinja: Django/Jinja embedded in Javascript

Java && family

  • java:
    Java (*.java)
  • clojure:
    clojure (*.clj)
  • groovy:
    Groovy (*.groovy)
  • jsp:
    Java Server Page (*.jsp)

C, C++, Objetive-c, C Sharp

  • cobjdump: c-objdump (*.c-objdump)
  • c: C (*.c, *.h, *.idc)
  • cpp: C++ (*.cpp, *.hpp, *.c++, *.h++, *.cc, *.hh, *.cxx, *.hxx)
  • csharp: C# (*.cs)
  • objectivec: (*.m)

XML

  • xml: (*.xml, *.xsl, *.rss, *.xslt, *.xsd, *.wsdl)
  • xslt: (*.xsl, *.xslt)

Installation

To use this plugin you need pygments in your server:

sudo apt-get install python-setuptools
easy_install Pygments

That’s all. Now you can download the plugin and install it in your WordPress.

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activez le plugin via le menu « Plugins » dans WordPress

Once you get installed the plugin the usage is straightforward. just enclose your code between tokens named with the corresponding lang:

[javascript]....[/javascript]

[php]....[/php]

Journal de modifications

1.1.3

  • Added clojure support.
  • Fix: Line numbers not showing up.
  • Updated readme.txt

1.1.2

  • readme.txt fix

1.1.1

  • readme.txt fix

1.1

  • readme.txt fix

1.0

  • First stable release

Journal des modifications complet sur WordPress.org →

Captures d'écran

Example highlighted code
Example highlighted code
Another example highlighted code
Another example highlighted code

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best WPygments alternatives

All syntax highlight plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Syntax-highlighting Code Block (with Server-side Rendering) Syntax-highlighting Code Block (with Server-side Rendering) Extending the Code block with syntax highlighting rendered on the server, thus being… by Weston Ruter 1K+ ★★★★★★★★★★ 5 (26) Il y a 6 mois 66
2 Code Block Syntax Highlighter for Elementor Code Block Syntax Highlighter for Elementor This is an drag & drop widget for syntax highlighting of code blocks. by netninja2202 500+ ★★★★★★★★★★ 5 (8) Il y a 3 ans 39
3 Syntax Highlight Syntax Highlight Syntax Highlighting in WordPress Plugins and Themes Editor. by lukasz.webmaster 200+ ★★★★★★★★★★ 5 (6) il y a 12 ans 38
4 WP-SynHighlight WP-SynHighlight Plugin provides syntax highlighting for about 116 programming languages via Geshi. by FractalizeR 100+ ★★★★★★★★★★ 4.6 (5) il y a 11 ans 35
5 CC-Syntax-Highlight CC-Syntax-Highlight This plugin allows you very simply syntax highlight source code in your content using… par clearcode 60+ ★★★★★★★★★★ 5 (1) Il y a 2 mois 71
6 Syntax Highlighter++ Syntax Highlighter++ You can add code with syntax highlighter easily when you are editing an article. 方便的代码高亮插件。 by leo108 60+ ★★★★★★★★★★ 5 (1) il y a 13 ans 32
7 REST API support for Crayon Syntax Highlighter REST API support for Crayon Syntax Highlighter Adds WordPress REST API support for Crayon Syntax Highlighter. by miunosoft 20+ ★★★★★★★★★★ 3.5 (2) il y a 8 ans 27
8 Post Editor Zen Coding Post Editor Zen Coding This plugin add a syntax highlighted editor to WordPress Post new/edit screen with Emmet… by Bainternet 10+ ★★★★★★★★★★ 5 (2) il y a 14 ans 30
9 CodeHighlighter CodeHighlighter This plugin is a syntax highlighter for source code using GeSHi. by iwongu 10+ ★★★★★★★★★★ Aucun avis il y a 14 ans 23
10 Simple Gist Embed Simple Gist Embed This plugin lets you embed Github's Gists in your posts or pages, but the main deference is… by Bainternet 10+ ★★★★★★★★★★ Aucun avis Il y a 15 ans 23

FAQ

WPygments: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is WPygments free?

Yes. WPygments is free to download and use from the official WordPress.org plugin directory.

Is WPygments safe to use in 2026?

WPygments 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 WPygments?

WPygments is active on 10+ WordPress websites and has been downloaded 3,686 times since it launched in May 2013. It was downloaded 149 times in the last 30 days.

Does WPygments work with WordPress 7.1?

WPygments is officially tested up to WordPress 3.7.41, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was WPygments last updated?

The latest version, 1.1.2, was released on March 27, 2014 (13 years ago).

Who makes WPygments?

WPygments is developed and maintained by capynet.

What are the best alternatives to WPygments?

The most popular alternatives to WPygments are Syntax-highlighting Code Bl… (1K+ installs), Code Block Syntax Highlight… (500+ installs) and Syntax Highlight (200+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir