支持高亮的语言列表

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
ActionScript
Ada
ANTLR
AppleScript
Assembly (various)
Asymptote
Awk
Befunge
Boo
BrainFuck
C, C++
C#
Clojure
CoffeeScript
ColdFusion
Common Lisp
Coq
Cython
D
Dart
Delphi
Dylan
[erlang]Erlang
Factor
Fancy
Fortran
F#
Gherkin (Cucumber)
GL shaders
Groovy
Haskell (incl. Literate Haskell)
Io
Java
JavaScript
LLVM
Logtalk
Lua
Matlab
MiniD
Modelica
Modula-2
MuPad
Nemerle
Nimrod
Objective-C
Objective-J
Octave
OCaml
[php]PHP
Perl
PovRay
PostScript
PowerShell
Prolog
Python 2.x and 3.x (incl. console sessions and tracebacks)
Rebol
Redcode
[ruby]Ruby (incl. irb sessions)
S, S-Plus, R
Scala
Scheme
Scilab
Smalltalk
SNOBOL
Tcl
Vala
Verilog
VHDL
Visual Basic.NET
XQuery
  • 模板语言
1
2
3
4
5
6
7
8
9
Cheetah templates
Django/Jinja templates
ERB (Ruby templating)
Genshi (the Trac template language)
JSP (Java Server Pages)
Myghty (the HTML::Mason based framework)
Mako (the Myghty successor)
Smarty templates (PHP templating)
Tea
  • 其他标记语言
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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]MySQL
[nginx]Nginx config files
POV-Ray scenes
Ragel
Redcode
ReST
SQL, also MySQL, SQLite
Squid configuration
TeX
tcsh
Vim Script
Windows batch files
XML
XSLT
YAML
  • 自已写一个新的:

Well, why not write your own? Contributing to Pygments is easy and fun. Look here for the docs on lexer development and here for contact details. Note: the languages listed here are supported in the development version. The latest release may lack a few of them.