Supported languages¶
Pygments supports an ever-growing range of languages. Watch this space…
Programming languages¶
ActionScript
Ada
ANTLR
AppleScript
Assembly (various)
Asymptote
Awk
BBC Basic
Befunge
Boo
BrainFuck
C, C++
C#
Clojure
CoffeeScript
ColdFusion
Common Lisp
Coq
Cryptol (incl. Literate Cryptol)
Dart
DCPU-16
Delphi
Dylan
Email
Erlang
Ezhil Ezhil - A Tamil programming language
Factor
Fancy
Fortran
F#
GAP
Gherkin (Cucumber)
GL shaders
Groovy
Haskell (incl. Literate Haskell)
HLSL
IDL
Io
Java
JavaScript
Lasso
LLVM
Logtalk
Matlab
MiniD
Modelica
Modula-2
MuPad
Nemerle
Nimrod
Notmuch
Objective-C
Objective-J
Octave
OCaml
PHP
PovRay
PostScript
PowerShell
Prolog
Python 2.x and 3.x (incl. console sessions and tracebacks)
Redcode
Ruby (incl. irb sessions)
Rust
S, S-Plus, R
Scala
Scheme
Scilab
Smalltalk
SNOBOL
Tcl
Vala
Verilog
VHDL
Visual Basic.NET
Visual FoxPro
XQuery
Zephir
Template languages¶
Other markup¶
Apache config files
Bash shell scripts
BBCode
CMake
CSS
Debian control files
Diff files
DTD
Gettext catalogs
Gnuplot script
Groff markup
HTML
HTTP sessions
INI-style config files
IRC logs (irssi style)
Lighttpd config files
Makefiles
MoinMoin/Trac Wiki markup
MySQL
Nginx config files
POV-Ray scenes
Ragel
Redcode
ReST
Robot Framework
RPM spec files
SQL, also MySQL, SQLite
Squid configuration
TeX
tcsh
Vim Script
Windows batch files
XML
XSLT
YAML
… that’s all?¶
Well, why not write your own? Contributing to Pygments is easy and fun. Take a look at the docs on lexer development. Pull requests are welcome on GitHub <https://github.com/pygments/pygments>.
Note: the languages listed here are supported in the development version. The latest release may lack a few of them.