Beskrivelse
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) andlinenostart
(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)
Skjermbilder
Installasjon
This section describes how to install the plugin and get it working.
- Upload plugin’s content to
/wp-content/plugins/
directory - 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
Vurderinger
Det er ingen omtaler av denne utvidelsen.
Bidragsytere og utviklere
“Pygment It” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.
BidragsytereOversett “Pygment It” til ditt språk.
Interessert i utvikling?
Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.
Endringslogg
0.2
Escaping \
0.1
- Plugin creation