Supported Languages
The source module provides support to highlight the syntax for a large number of programming languages as shown below. To specify a specific language, assign the language name (left column) to the lang key in the various source related commands and environments.
| lang | Full Name |
|---|---|
| 4cs | GADV 4CS |
| 6502acme | MOS 6502 (6510) ACME Cross Assembler format |
| 6502kickass | MOS 6502 (6510) Kick Assembler format |
| 6502tasm | MOS 6502 (6510) TASM/64TASS 1.46 Assembler format |
| 68000devpac | Motorola 68000 - HiSoft Devpac ST 2 Assembler format |
| abap | ABAP |
| actionscript | ActionScript |
| actionscript3 | ActionScript 3 |
| ada | Ada |
| aimms | AIMMS3 |
| algol68 | ALGOL 68 |
| apache | Apache configuration |
| applescript | AppleScript |
| apt_sources | Apt sources |
| arm | ARM ASSEMBLER |
| asm | ASM |
| asp | ASP |
| asymptote | asymptote |
| autoconf | Autoconf |
| autohotkey | Autohotkey |
| autoit | AutoIt |
| avisynth | AviSynth |
| awk | awk |
| bascomavr | BASCOM AVR |
| bash | Bash |
| basic4gl | Basic4GL |
| batch | Windows Batch file |
| bf | Brainfuck |
| biblatex | BibTeX |
| bibtex | BibTeX |
| blitzbasic | BlitzBasic |
| bnf | bnf |
| boo | Boo |
| c | C |
| c_loadrunner | C (LoadRunner) |
| c_mac | C (Mac) |
| c_winapi | C (WinAPI) |
| caddcl | CAD DCL |
| cadlisp | CAD Lisp |
| ceylon | Ceylon |
| cfdg | CFDG |
| cfm | ColdFusion |
| chaiscript | ChaiScript |
| chapel | Chapel |
| cil | CIL |
| clojure | Clojure |
| cmake | CMake |
| cobol | COBOL |
| coffeescript | CoffeeScript |
| cpp | C++ |
| cpp-qt | C++ (Qt) |
| cpp-winapi | C++ (WinAPI) |
| csharp | C# |
| css | CSS |
| cuesheet | Cuesheet |
| d | D |
| dart | Dart |
| dcl | DCL |
| dcpu16 | DCPU-16 Assembly |
| dcs | DCS |
| delphi | Delphi |
| diff | Diff |
| div | DIV |
| dos | DOS |
| dot | dot |
| e | E |
| ecmascript | ECMAScript |
| eiffel | Eiffel |
| eMail (mbox) | |
| epc | EPC |
| erlang | Erlang |
| euphoria | Euphoria |
| ezt | EZT |
| f1 | Formula One |
| falcon | Falcon |
| fo | FO (abas-ERP) |
| fortran | Fortran |
| freebasic | FreeBasic |
| freeswitch | FreeSWITCH |
| fsharp | F# |
| gambas | GAMBAS |
| gdb | GDB |
| genero | genero |
| genie | Genie |
| gettext | GNU Gettext |
| glsl | glSlang |
| gml | GML |
| gnuplot | Gnuplot |
| go | Go |
| groovy | Groovy |
| gwbasic | GwBasic |
| haskell | Haskell |
| haxe | Haxe |
| hicest | HicEst |
| hq9plus | HQ9+ |
| html4strict | HTML |
| html5 | HTML5 |
| icon | Icon |
| idl | Uno Idl |
| ini | INI |
| inno | Inno |
| intercal | INTERCAL |
| io | Io |
| ispfpanel | ISPF Panel |
| j | J |
| java | Java |
| java5 | Java(TM) 2 Platform Standard Edition 5.0 |
| javascript | Javascript |
| jcl | JCL |
| jquery | jQuery |
| julia | Julia |
| kixtart | KiXtart |
| klonec | KLone C |
| klonecpp | KLone C++ |
| kotlin | Kotlin |
| latex | LaTeX |
| lb | Liberty BASIC |
| ldif | LDIF |
| lisp | Lisp |
| llvm | LLVM Intermediate Representation |
| locobasic | Locomotive Basic |
| logtalk | Logtalk |
| lolcode | LOLcode |
| lotusformulas | Lotus Notes @Formulas |
| lotusscript | LotusScript |
| lscript | LScript |
| lsl2 | LSL2 |
| lua | Lua |
| m68k | Motorola 68000 Assembler |
| magiksf | MagikSF |
| make | GNU make |
| mapbasic | MapBasic |
| mathematica | Mathematica |
| matlab | Matlab M |
| mercury | Mercury |
| metapost | MetaPost |
| mips | MIPS |
| mirc | mIRC Scripting |
| mk-61 | МК-61/52 |
| mmix | MMIX |
| modula2 | Modula-2 |
| modula3 | Modula-3 |
| mpasm | Microchip Assembler |
| mxml | MXML |
| mysql | MySQL |
| nagios | Nagios |
| netrexx | NetRexx |
| newlisp | newlisp |
| nginx | nginx |
| nimrod | Nimrod |
| nsis | NSIS |
| oberon2 | Oberon-2 |
| objc | Objective-C |
| objeck | Objeck Programming Language |
| ocaml | OCaml |
| ocaml-brief | OCaml (brief) |
| octave | GNU/Octave |
| oobas | OpenOffice.org Basic |
| oorexx | ooRexx |
| oracle11 | Oracle 11 SQL |
| oracle8 | Oracle 8 SQL |
| oxygene | Oxygene |
| oz | OZ |
| parasail | ParaSail |
| parigp | PARI/GP |
| pascal | Pascal |
| pcre | PCRE |
| per | per |
| perl | Perl |
| perl6 | Perl 6 |
| pf | OpenBSD Packet Filter |
| phix | Phix |
| php | PHP |
| php-brief | PHP (brief) |
| pic16 | PIC16 |
| pike | Pike |
| pixelbender | Pixel Bender 1.0 |
| pli | PL/I |
| plsql | PL/SQL |
| postgresql | PostgreSQL |
| postscript | PostScript |
| povray | POVRAY |
| powerbuilder | PowerBuilder |
| powershell | PowerShell |
| proftpd | ProFTPd configuration |
| progress | Progress |
| prolog | Prolog |
| properties | PROPERTIES |
| providex | ProvideX |
| purebasic | PureBasic |
| pys60 | Python for S60 |
| python | Python |
| q | q/kdb+ |
| qbasic | QBasic/QuickBASIC |
| qml | QML |
| racket | Racket |
| rails | Rails |
| rbs | RBScript |
| rebol | REBOL |
| reg | Microsoft Registry |
| rexx | rexx |
| robots | robots.txt |
| roff | roff |
| rpmspec | RPM Specification File |
| rsplus | R / S+ |
| ruby | Ruby |
| rust | Rust |
| sas | SAS |
| sass | Sass |
| scala | Scala |
| scheme | Scheme |
| scilab | SciLab |
| scl | SCL |
| sdlbasic | sdlBasic |
| smalltalk | Smalltalk |
| smarty | Smarty |
| spark | SPARK |
| sparql | SPARQL |
| sql | SQL |
| sshconfig | sshconfig |
| standardml | StandardML |
| stonescript | StoneScript |
| swift | Swift |
| systemverilog | SystemVerilog |
| tcl | TCL |
| tclegg | TCLEGG |
| teraterm | Tera Term Macro |
| texgraph | TeXgraph |
| text | Text |
| thinbasic | thinBasic |
| tsql | T-SQL |
| twig | Twig |
| typoscript | TypoScript |
| unicon | Unicon (Unified Extended Dialect of Icon) |
| upc | UPC |
| urbi | Urbi |
| uscript | Unreal Script |
| vala | Vala |
| vb | Visual Basic |
| vbnet | vb.net |
| vbscript | VBScript |
| vedit | Vedit macro language |
| verilog | Verilog |
| vhdl | VHDL |
| vim | Vim Script |
| visualfoxpro | Visual Fox Pro |
| visualprolog | Visual Prolog |
| whitespace | Whitespace |
| whois | Whois (RPSL format) |
| winbatch | Winbatch |
| wolfram | Wolfram |
| xbasic | XBasic |
| xml | XML |
| xojo | Xojo |
| xorg_conf | Xorg configuration |
| xpp | X++ |
| yaml | YAML |
| z80 | ZiLOG Z80 Assembler |
| zxbasic | ZXBasic |