WPygments WordPress Plugin
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.
UsageOnce 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.
Default styling is default wich is very nice, but ma
Plugins with a similar footprint
Ranked by how many sites run them — a quick way to compare alternatives.
Usage of WPygments over time
June 2023 — July 2024Between June 2023 and July 2024 the number of sites running this plugin went from 1 to 1 — up 0 (+0%).
| Month | Sites | Change |
|---|---|---|
| July 2024 | 1 | +0 |
| June 2024 | 1 | +0 |
| May 2024 | 1 | +0 |
| April 2024 | 1 | +0 |
| March 2024 | 1 | +0 |
| February 2024 | 1 | +0 |
| January 2024 | 1 | +0 |
| December 2023 | 1 | +0 |
| November 2023 | 1 | +0 |
| October 2023 | 1 | +0 |
| September 2023 | 1 | +0 |
| August 2023 | 1 | +0 |
| July 2023 | 1 | +0 |
| June 2023 | 1 | — |
Sites running WPygments
All sites in the collection0 examples from the collection. Open any site to see the theme and plugins we found on it.