:orphan: Supported languages =================== Pygments supports an ever-growing range of languages. Watch this space... Programming languages --------------------- * `ActionScript `_ * `Ada `_ * `Agda `_ (incl. literate) * `Alloy `_ * `AMPL `_ * `ANTLR `_ * `APL `_ * `AppleScript `_ * `Assembly `_ (various) * `Asymptote `_ * `Augeas `_ * `AutoIt `_ * `Awk `_ * `BARE `_ * `BBC Basic `_ * `Befunge `_ * `BlitzBasic `_ * `Boa `_ * `Boo `_ * `Boogie `_ * `BrainFuck `_ * `C `_, `C++ `_ (incl. dialects like Arduino) * `C# `_ * `Chapel `_ * `Charm++ CI `_ * `Cirru `_ * `Clay `_ * `Clean `_ * `Clojure `_ * `CoffeeScript `_ * `ColdFusion `_ * `Common Lisp `_ * `Component Pascal `_ * `Coq `_ * `Croc `_ (MiniD) * `Cryptol `_ (incl. Literate Cryptol) * `Crystal `_ * `Cypher `_ * `Cython `_ * `D `_ * `Dart `_ * DCPU-16 * `Delphi `_ * `Devicetree `_ * `Dylan `_ (incl. console) * `Eiffel `_ * `Elm `_ * `Emacs Lisp `_ * Email * `Erlang `_ (incl. shell sessions) * `Ezhil `_ * `Execline `_ * `Factor `_ * `Fancy `_ * `Fantom `_ * `Fennel `_ * `FloScript `_ * `Fortran `_ * `FreeFEM++ `_ * `F# `_ * `F* `_ * `GAP `_ * `GDScript `_ * `Gherkin `_ (Cucumber) * `GLSL `_ shaders * `GnuCOBOL `_ (OpenCOBOL) * `Golo `_ * `Gosu `_ * `Groovy `_ * `Haskell `_ (incl. Literate Haskell) * `Haxe `_ * `HLSL `_ shaders * `HSpec `_ * `Hy `_ * `IDL `_ * `Idris `_ (incl. Literate Idris) * `Igor Pro `_ * `Io `_ * `Jags `_ * `Java `_ * `JavaScript `_ * `Jasmin `_ * `Jcl `_ * `Julia `_ * `Kotlin `_ * `Lasso `_ (incl. templating) * `Limbo `_ * `LiveScript `_ * `LLVM MIR `_ * `Logtalk `_ * `Logos `_ * `Lua `_ * `Mathematica `_ * `Matlab `_ * `MiniScript `_ * `Modelica `_ * `Modula-2 `_ * `Monkey `_ * `Monte `_ * `MoonScript `_ * `Mosel `_ * `MuPad `_ * `NASM `_ * `Nemerle `_ * `NesC `_ * `NewLISP `_ * `Nim `_ * `Nit `_ * `Notmuch `_ * `NuSMV `_ * `Objective-C `_ * `Objective-J `_ * `Octave `_ * `OCaml `_ * `Opa `_ * `ParaSail `_ * `Pawn `_ * `PHP `_ * `Perl 5 `_ * `Pike `_ * `Pointless `_ * `Pony `_ * `PovRay `_ * `PostScript `_ * `PowerShell `_ * `Praat `_ * `Prolog `_ * `Python `_ 2.x and 3.x (incl. console sessions and tracebacks) * `QBasic `_ * `Racket `_ * `Raku `_ a.k.a. Perl 6 * `ReasonML `_ * `REBOL `_ * `Red `_ * `Redcode `_ * `Rexx `_ * `Ride `_ * `Ruby `_ (incl. irb sessions) * `Rust `_ * S, S-Plus, `R `_ * `Scala `_ * `Scdoc `_ * `Scheme `_ * `Scilab `_ * `SGF `_ * Shell scripts (`Bash `_, `Tcsh `_, `Fish `_) * `Shen `_ * `Silver `_ * `Slash `_ * `Slurm `_ * `Smalltalk `_ * `SNOBOL `_ * `Snowball `_ * `Solidity `_ * `SourcePawn `_ * `Stan `_ * `Standard ML `_ * `Stata `_ * `Swift `_ * `Swig `_ * `SuperCollider `_ * `Tcl `_ * `Tera Term language `_ * `TypeScript `_ * `TypoScript `_ * `USD `_ * `Unicon `_ * `Urbiscript `_ * `Vala `_ * `VBScript `_ * Verilog, `SystemVerilog `_ * `VHDL `_ * `Visual Basic.NET `_ * `Visual FoxPro `_ * `Whiley `_ * `Xtend `_ * `XQuery `_ * `Zeek `_ * `Zephir `_ * `Zig `_ Template languages ------------------ * `Angular templates `_ * `Cheetah templates `_ * `ColdFusion `_ * `Django `_ / `Jinja `_ templates * `ERB `_ (Ruby templating) * Evoque * `Genshi `_ (the Trac template language) * `Handlebars `_ * `JSP `_ (Java Server Pages) * `Liquid `_ * `Myghty `_ (the HTML::Mason based framework) * `Mako `_ (the Myghty successor) * `Slim `_ * `Smarty `_ templates (PHP templating) * `Tea `_ * `Twig `_ Other markup ------------ * Apache config files * Apache Pig * BBCode * CapDL * `Cap'n Proto `_ * CMake * `Csound `_ scores * CSS * Debian control files * Diff files * Dockerfiles * DTD * EBNF * E-mail headers * Extempore * Flatline * Gettext catalogs * Gnuplot script * Groff markup * Hexdumps * HTML * HTTP sessions * IDL * Inform * INI-style config files * IRC logs (irssi style) * Isabelle * JSGF notation * JSON, JSON-LD * Lean theorem prover * Lighttpd config files * Linux kernel log (dmesg) * LLVM assembly * LSL scripts * Makefiles * MoinMoin/Trac Wiki markup * MQL * MySQL * NCAR command language * Nginx config files * `Nix language `_ * NSIS scripts * Notmuch * `PEG `_ * POV-Ray scenes * `PromQL `_ * `Puppet `_ * QML * Ragel * Redcode * ReST * `Roboconf `_ * Robot Framework * RPM spec files * Rql * RSL * Scdoc * Sieve * Singularity * SPARQL * SQL, also MySQL, SQLite * Squid configuration * TADS 3 * Terraform * TeX * `Thrift `_ * `TNT `_ * `TOML `_ * Treetop grammars * USD (Universal Scene Description) * Varnish configs * VGL * Vim Script * WDiff * Web IDL * Windows batch files * XML * XSLT * YAML * YANG * Windows Registry files Interactive terminal/shell sessions ----------------------------------- To highlight an interactive terminal or shell session, prefix your code snippet with a specially formatted prompt. Supported shells with examples are shown below. In each example, prompt parts in brackets ``[any]`` represent optional parts of the prompt, and prompt parts without brackets or in parenthesis ``(any)`` represent required parts of the prompt. * **Bash Session** (console, shell-session): .. code-block:: console [any@any]$ ls -lh [any@any]# ls -lh [any@any]% ls -lh $ ls -lh # ls -lh % ls -lh > ls -lh * **MSDOS Session** (doscon): .. code-block:: doscon [any]> dir > dir More? dir * **Tcsh Session** (tcshcon): .. code-block:: tcshcon (any)> ls -lh ? ls -lh * **PowerShell Session** (ps1con): .. code-block:: ps1con PS[any]> Get-ChildItem PS> Get-ChildItem >> Get-ChildItem ... that's all? --------------- Well, why not write your own? Contributing to Pygments is easy and fun. Take a look at the :doc:`docs on lexer development `. Pull requests are welcome on `GitHub `_. Note: the languages listed here are supported in the development version. The latest release may lack a few of them.