跳到内容

Pygment It

v0.2

glauco_dsc · 2014年8月8日 上架

A WordPress plugin for syntax highlighting using Pygments, though Pygments is not required to be installed.

正在使用
10+
评分
5.0 / 5
累计下载
1,846
最近更新
2014年9月27日
1 条评价需要 WordPress 3.0.1+已测试到 3.4.2

贡献者

截图

screenshot-1.png
screenshot-1.png
screenshot-2.png
screenshot-2.png

By default, Pygment It will auto discover if Pygments is installed (through command -v pygmentize). If not, it will use http://pygments.appspot.com to highlight code (but without support for: highlighted lines, line numbers and line number to start).

  • Syntax-highlighted code cached as post metadata
  • Admin panel to choose theme, default language and Pygments usage (local, external API or auto discover)
  • Multiple themes available (github, monokai, railscasts, mustang, among others..)
  • Support for hl_lines (highlighted lines), linenos (line numbers) and linenostart (line number to start) when using a local installation of Pygments
  • Works with all Pygments’s supported languages (the full list can be found here)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums