このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Pygment It

説明

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)

スクリーンショット

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

インストール

This section describes how to install the plugin and get it working.

  1. Upload plugin’s content to /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Must I have Pygments installed in my server?

No, in case your server does not have Pygments installed, the plugin will use an external api to perform syntax highlight

評価

このプラグインにはレビューがありません。

貢献者と開発者

Pygment It はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Pygment It” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.2

Escaping \

0.1

  • Plugin creation