Help:Syntax Highlighting: Difference between revisions

Content added Content deleted
m (Update syntax highlighting)
m (→‎Recommended language tag usage: don't bother trying to maintain a separate list, just point to official)
Line 26: Line 26:


===Recommended language tag usage===
===Recommended language tag usage===
<div style="clear: both; column-count: 3; -webkit-column-count:3; -moz-column-count:3">
* 4D 4d
* 4DOS Batch 4dos


''Rather than trying to keep disparate lists in sync, refer directly to the official Pygments documentation.''
A


[https://pygments.org/languages/ Official language list]
* ALGOL 60 algol60
* ALGOL 68 algol68
* APL apl
* AWK '''awk'''
* ActionScript '''actionscript'''
* Ada '''ada'''
* Agda2 agda2
* AmigaE amigae
* App Inventor '''dos'''
* AppleScript '''applescript'''
* Arturo '''arturo'''
* Assembly '''asm''' (for x86)
* AutoHotkey '''autohotkey'''


In general, the language parameter should be the lowercase language name bounded by double quotes.
B

* BASIC '''qbasic''' '''freebasic''' '''thinbasic''' bbcbasic fuzebasic commodorebasic
* Batch File '''dos'''
* Bc bc
* Befunge befunge
* Brainf*** '''bf'''

C

* C '''c'''
* C# '''csharp'''
* Caché ObjectScript '''cos'''
* C++ '''cpp'''
* Caml caml
* Ceylon ceylon
* Clean clean
* Clojure '''lisp'''
* CMake '''cmake'''
* Cobol '''cobol'''
* ColdFusion '''cfm'''
* Common Lisp '''lisp'''
* Component Pascal '''pascal'''
* Coq coq
* C Shell csh

D

* D '''d'''
* Dao dao
* Dart '''dart'''
* Dc dc
* Delphi '''delphi'''
* DWScript '''delphi'''

E

* E '''e'''
* EC ec
* ELLA ella
* ESQL '''sql'''
* Eiffel '''eiffel'''
* Emacs Lisp lisp
* Erlang erlang
* Euphoria euphoria

F

* F f
* F# '''fsharp'''
* FALSE false
* FP fp
* Factor factor
* Fan fan
* Forth forth
* Fortran '''fortran'''

G

* GAP gap
* GDScript '''GDScript'''
* Gnuplot '''gnuplot'''
* Go go
* GP '''parigp'''
* Groovy '''groovy'''

H

* HaXe haxe
* Haskell '''haskell'''

I

* IDL '''idl'''
* Icon '''icon'''
* Io '''io'''

J

* J '''j'''
* JSON '''json'''
* JScript.NET '''jscript'''
* Java '''java''' '''java5'''
* JavaScript '''javascript'''
* JoCaml '''jocaml'''
* Joy '''joy'''
* jq '''jq'''
* JudoScript '''judoscript'''
* Julia '''julia'''

K

* Kotlin '''kotlin'''

L

* LSE64 lse64
* LaTeX '''latex'''
* LabVIEW labview
* Lisaac lisaac
* Lisp '''lisp'''
* Locomotive BASIC '''locobasic'''
* Logo logo
* Logtalk logtalk
* LotusScript '''lotusscript'''
* Lua '''lua'''
* Lucid lucid

M

* M4 m4
* MAXScript maxscript
* MIRC Scripting Language '''mirc'''
* MS SQL '''sql'''
* Make '''make'''
* Maple maple
* Mathematica mathematica
* MATLAB '''matlab'''
* Maxima maxima
* Mercury mercury
* Metafont metafont
* MiniZinc minizinc
* Modula-3 '''modula3'''
* Morfa morfa

N

* NetRexx netrexx
* NewLISP '''lisp'''
* Nial nial
* Nim '''nim'''

O

* OCaml '''ocaml'''
* Oberon-2 '''oberon2'''
* Object Pascal '''pascal'''
* Objective-C '''objc'''
* Octave octave
* Omega omega
* OpenEdge/Progress '''progress'''
* ooRexx ooRexx
* Oz oz

P

* PARI/GP '''parigp'''
* PHP '''php'''
* PL/I pli
* PL/SQL '''plsql'''
* Pascal '''pascal'''
* Perl '''perl'''
* Perl 6 '''perl6'''
* Pike '''pike'''
* PlainTeX tex
* Pop11 pop11
* PostScript postscript
* PowerBASIC '''powerbasic'''
* PowerShell '''powershell'''
* Processing '''java'''
* Processing Python mode '''python'''
* Prolog '''prolog'''
* Python '''python'''

Q

* Q q

R

* R r
* REXX rexx
* RapidQ rapidq
* Raku '''perl6'''
* Raven raven
* Rhope rhope
* Ruby '''ruby'''
* Rust '''rust'''

S

* SAS '''sas'''
* SETL setl
* SMEQL smeql
* SNUSP snusp
* SQL '''sql'''
* Scala '''scala'''
* Scheme '''scheme'''
* Script3D script3d
* Seed7 seed7
* Self self
* Sinclair BASIC '''zxbasic'''
* Slate slate
* Smalltalk '''smalltalk'''
* Sparkling '''sparkling'''
* Standard ML sml

T

* TI-83 BASIC ti83b
* TI-89 BASIC ti89b
* Tcl '''tcl'''
* Toka toka
* Tr tr
* Transact-SQL '''sql'''
* Twelf twelf

U

* Unicon '''unicon'''
* UNIX Shell '''bash'''
* UnixPipes '''bash'''
* Unlambda unlambda

V

* V v
* VBScript vbscript
* Vedit macro language vedit
* Visual Basic '''vb'''
* Visual Basic .NET '''vbnet'''
* Visual Objects visobj

W

* Wrapl wrapl

X

* XQuery xquery
* XSLT '''xml'''
* XTalk xtalk

Z

* ZX Spectrum BASIC '''zxbasic'''
</div>


=== GeSHi extension self-report ===
=== GeSHi extension self-report ===