Skip to content

Instantly share code, notes, and snippets.

@roachhd
Last active April 25, 2022 19:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roachhd/76e742000f351bb90f3f to your computer and use it in GitHub Desktop.
Save roachhd/76e742000f351bb90f3f to your computer and use it in GitHub Desktop.
Pygments syntax highlighting supported languages

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)
  • [Cython][8]
  • [D][9]
  • Dart
  • Delphi
  • Dylan
  • Erlang
  • Factor
  • Fancy
  • Fortran
  • F#
  • GAP
  • Gherkin (Cucumber)
  • GL shaders
  • Groovy
  • [Haskell][10] (incl. Literate Haskell)
  • IDL
  • Io
  • Java
  • JavaScript
  • LLVM
  • Logtalk
  • [Lua][11]
  • Matlab
  • MiniD
  • Modelica
  • Modula-2
  • MuPad
  • Nemerle
  • Nimrod
  • Objective-C
  • Objective-J
  • Octave
  • OCaml
  • PHP
  • [Perl][12]
  • PovRay
  • PostScript
  • PowerShell
  • Prolog
  • [Python][13] 2.x and 3.x (incl. console sessions and tracebacks)
  • [REBOL][14]
  • [Red][15]
  • Redcode
  • [Ruby][16] (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¶

  • Cheetah templates
  • [Django][17] / [Jinja][18] templates
  • ERB (Ruby templating)
  • [Genshi][19] (the Trac template language)
  • JSP (Java Server Pages)
  • [Myghty][20] (the HTML::Mason based framework)
  • [Mako][21] (the Myghty successor)
  • [Smarty][22] templates (PHP templating)
  • Tea

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?¶

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment