Supported languages¶
Pygments supports an ever-growing range of languages. Watch this space…
Programming languages¶
- ActionScript
- Ada
- ANTLR
- AppleScript
- Assembly (various)
- Asymptote
- Awk
- Befunge
- Boo
- BrainFuck
- C, C++
- C#
- Clojure
- CoffeeScript
- ColdFusion
- Common Lisp
- Coq
- Cryptol (incl. Literate Cryptol)
- Crystal
- Cython
- D
- Dart
- Delphi
- Dylan
- Elm
- Erlang
- Ezhil Ezhil - A Tamil programming language
- Factor
- Fancy
- Fennel
- Fortran
- F#
- GAP
- Gherkin (Cucumber)
- GL shaders
- Groovy
- Haskell (incl. Literate Haskell)
- HLSL
- IDL
- Io
- Java
- JavaScript
- Lasso
- LLVM
- Logtalk
- Lua
- Matlab
- MiniD
- Modelica
- Modula-2
- MuPad
- Nemerle
- Nimrod
- Objective-C
- Objective-J
- Octave
- OCaml
- PHP
- Perl
- PovRay
- PostScript
- PowerShell
- Prolog
- Python 2.x and 3.x (incl. console sessions and tracebacks)
- REBOL
- Red
- 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 and contact details.
Note: the languages listed here are supported in the development version. The latest release may lack a few of them.