pygments的高亮语法支持

#jekyll #blog

今天把jekyll的引擎从rdiscount换成了redcarpet,终于不用使用恶心的大括号来高亮code了.
高亮方式也由原来的highlight.js换成了经典的pygments.
由于经常需要查找pygments支持的语言.就把pygments支持的语言贴在这边方便查找.
感觉页面加载速度快了不少.btw,pygments.org这个网站经常性的打不开.

缩写文件后缀
as3,actionscript3*.as
as,actionscript*.as
mxml*.mxml
gap*.g,*.gd,*.gi,*.gap
mathematica,mma,nb*.nb,*.cdf,*.nbp,*.ma
mupad*.mu
at,ambienttalk,ambienttalk/2*.at
apl*.apl
c-objdump*.c-objdump
ca65*.s
cpp-objdump,c++-objdumb,cxx-objdump*.cpp-objdump,*.c++-objdump,*.cxx-objdump
d-objdump*.d-objdump
gas,asm*.s,*.S
llvm*.ll
nasm*.asm,*.ASM
objdump-nasm*.objdump-intel
objdump*.objdump
autoit*.au3
ahk,autohotkey*.ahk,*.ahkl
blitzbasic,b3d,bplus*.bb,*.decls
blitzmax,bmax*.bmx
cbmbas*.bas
monkey*.monkey
qbasic,basic*.BAS,*.bas
abap*.abap
cobolfree*.cbl,*.CBL
cobol*.cob,*.COB,*.cpy,*.CPY
gooddata-cl*.gdc
maql*.maql
openedge,abl,progress*.p,*.cls
c*.c,*.h,*.idc
cpp,c++*.cpp,*.hpp,*.c++,*.h++,*.cc,*.hh,*.cxx,*.hxx,*.C,*.H,*.cp,*.CPP
clay*.clay
cuda,cu*.cu,*.cuh
ec*.ec,*.eh
mql,mq4,mq5,mql4,mql5*.mq4,*.mq5,*.mqh
nesc*.nc
pike*.pike,*.pmod
swig*.swg,*.i
vala,vapi*.vala,*.vapi
chapel,chpl*.chpl
apacheconf,aconf,apache.htaccess,apache.conf,apache2.conf
cfengine3,cf3*.cf
docker,dockerfileDockerfile,*.docker
ini,cfg,dosini*.ini,*.cfg
kconfig,menuconfig,linux-config,kernel-configKconfig,*Config.in*,external.in*,standard-modules.in
lighty,lighttpdNone
nginxNone
properties,jproperties*.properties
registry*.reg
squidconf,squid.conf,squidsquid.conf
pypylog,pypy*.pypylog
vctreestatusNone
css*.css
sass*.sass
scss*.scss
croc*.croc
d*.d,*.di
minidNone
smali*.smali
jsonld,json-ld*.jsonld
json*.json
yaml*.yaml,*.yml
dpatch*.dpatch,*.darcspatch
diff,udiff*.diff,*.patch
boo*.boo
aspx-cs*.aspx,*.asax,*.ascx,*.ashx,*.asmx,*.axd
csharp,c#*.cs
fsharp*.fs,*.fsi
nemerle*.n
aspx-vb*.aspx,*.asax,*.ascx,*.ashx,*.asmx,*.axd
vb.net,vbnet*.vb,*.bas
alloy*.als
bro*.bro
mscgen,msc*.msc
pan*.pan
protobuf,proto*.proto
puppet*.pp
rsl*.rsl
vgl*.rpf
dylan-console,dylan-repl*.dylan-console
dylan*.dylan,*.dyl,*.intr
dylan-lid,lid*.lid,*.hdp
ecl*.ecl
eiffel*.e
iexNone
elixir,ex,exs*.ex,*.exs
erlang*.erl,*.hrl,*.es,*.escript
erl*.erl-sh
befunge*.befunge
brainfuck,bf*.bf,*.b
redcode*.cw
factor*.factor
fan*.fan
felix,flx*.flx,*.flxh
fortran*.f,*.f90,*.F,*.F90
foxpro,vfp,clipper,xbase*.PRG,*.prg
go*.go
cypher*.cyp,*.cypher
asy,asymptote*.asy
glsl*.vert,*.frag,*.geo
gnuplot*.plot,*.plt
postscript,postscr*.ps,*.eps
pov*.pov,*.inc
agda*.agda
cryptol,cry*.cry
haskell,hs*.hs
idris,idr*.idr
koka*.kk,*.kki
lagda,literate-agda*.lagda
lcry,literate-cryptol,lcryptol*.lcry
lhs,literate-haskell,lhaskell*.lhs
lidr,literate-idris,lidris*.lidr
hx,haxe,hxsl*.hx,*.hxsl
haxeml,hxml*.hxml
systemverilog,sv*.sv,*.svh
verilog,v*.v
vhdl*.vhdl,*.vhd
dtd*.dtd
haml*.haml
html*.html,*.htm,*.xhtml,*.xslt
jade*.jade
scaml*.scaml
xml*.xml,*.xsl,*.rss,*.xslt,*.xsd,*.wsdl,*.wsf
xslt*.xsl,*.xslt,*.xpl
idl*.pro
igor,igorpro*.ipf
limbo*.b
control,debcontrolcontrol
nsis,nsi,nsh*.nsi,*.nsh
spec*.spec
sourceslist,sources.list,debsourcessources.list
inform6,i6*.inf
i6t*.i6t
inform7,i7*.ni,*.i7x
tads3*.t
io*.io
coffee-script,coffeescript,coffee*.coffee
dart*.dart
js,javascript*.js
kal*.kal
lasso,lassoscript*.lasso,*.lasso[89]
live-script,livescript*.ls
mask*.mask
objective-j,objectivej,obj-j,objj*.j
ts*.ts
jlconNone
julia,jl*.jl
aspectj*.aj
ceylon*.ceylon
clojure,clj*.clj
clojurescript,cljs*.cljs
golo*.golo
gosu*.gs,*.gsx,*.gsp,*.vark
gst*.gst
groovy*.groovy
ioke,ik*.ik
jasmin,jasminxt*.j
java*.java
kotlin*.kt
pig*.pig
scala*.scala
xtend*.xtend
common-lisp,cl,lisp,elisp,emacs,emacs-lisp*.cl,*.lisp,*.el
hylang*.hy
newlisp*.lsp,*.nl
racket,rkt*.rkt,*.rktd,*.rktl
scheme,scm*.scm,*.ss
basemakeNone
cmake*.cmake,CMakeLists.txt
make,makefile,mf,bsdmake*.mak,*.mk,Makefile,makefile,Makefile.*,GNUmakefile
bbcodeNone
groff,nroff,man*.[1234567],*.man
trac-wiki,moinNone
css+mozpreproc*.css.in
mozhashpreprocNone
javascript+mozpreproc*.js.in
mozpercentpreprocNone
xul+mozpreproc*.xul.in
rst,rest,restructuredtext*.rst,*.rest
tex,latex*.tex,*.aux,*.toc
matlab*.m
matlabsessionNone
octave*.m
scilab*.sci,*.sce,*.tst
ocaml*.ml,*.mli,*.mll,*.mly
opa*.opa
sml*.sml,*.sig,*.fun
bugs,winbugs,openbugs*.bug
jags*.jag,*.bug
modelica*.mo
stan*.stan
nimrod,nim*.nim,*.nimrod
nit*.nit
nixos,nix*.nix
logos*.x,*.xi,*.xm,*.xmi
objective-c,objectivec,obj-c,objc*.m,*.h
objective-c++,objectivec++,obj-c++,objc++*.mm,*.hh
swift*.swift
ooc*.ooc
antlr-as,antlr-actionscript*.G,*.g
antlr-csharp,antlr-c#*.G,*.g
antlr-cpp*.G,*.g
antlr-java*.G,*.g
antlrNone
antlr-objc*.G,*.g
antlr-perl*.G,*.g
antlr-python*.G,*.g
antlr-ruby,antlr-rb*.G,*.g
ebnf*.ebnf
ragel-c*.rl
ragel-cpp*.rl
ragel-d*.rl
ragel-em*.rl
ragel-java*.rl
ragelNone
ragel-objc*.rl
ragel-ruby,ragel-rb*.rl
treetop*.treetop,*.tt
ada,ada95,ada2005*.adb,*.ads,*.ada
delphi,pas,pascal,objectpascal*.pas
modula2,m2*.def,*.mod
pawn*.p,*.pwn,*.inc
sp*.sp
perl6,pl6*.pl,*.pm,*.nqp,*.p6,*.6pl,*.p6l,*.pl6,*.6pm,*.p6m,*.pm6,*.t
perl,pl*.pl,*.pm,*.t
php,php3,php4,php5*.php,*.php[345],*.inc
zephir*.zep
logtalk*.lgt,*.logtalk
prolog*.ecl,*.prolog,*.pro,*.pl
cython,pyx,pyrex*.pyx,*.pxd,*.pxi
dg*.dg
numpyNone
python3,py3None
py3tb*.py3tb
pyconNone
python,py,sage*.py,*.pyw,*.sc,SConstruct,SConscript,*.tac,*.sage
pytb*.pytb
rconsole,rout*.Rout
rd*.Rd
splus,s,r*.S,*.R,.Rhistory,.Rprofile,.Renviron
sparql*.rq,*.sparql
rebol*.r,*.r3,*.reb
red,red/system*.red,*.reds
resource,resourcebundle*.txt
robotframework*.txt,*.robot
fancy,fy*.fy,*.fancypack
rbcon,irbNone
rb,ruby,duby*.rb,*.rbw,Rakefile,*.rake,*.gemspec,*.rbx,*.duby
rust*.rs
applescript*.applescript
chai,chaiscript*.chai
hybris,hy*.hy,*.hyb
lsl*.lsl
lua*.lua,*.wlua
moocode,moo*.moo
moon,moonscript*.moon
rexx,arexx*.rexx,*.rex,*.rx,*.arexx
bash,sh,ksh,shell*.sh,*.ksh,*.bash,*.ebuild,*.eclass,.bashrc,bashrc,.bash\*,bash\*,PKGBUILD
console*.sh-session
bat,batch,dosbatch,winbatch*.bat,*.cmd
powershell,posh,ps1,psm1*.ps1,*.psm1
shell-session*.shell-session
tcsh,csh*.tcsh,*.csh
newspeak*.ns2
smalltalk,squeak,st*.st
snobol*.snobol
rawNone
text*.txt
mysqlNone
plpgsqlNone
psql,postgresql-console,postgres-consoleNone
postgresql,postgresNone
rql*.rql
sql*.sql
sqlite3*.sqlite3-console
tcl*.tcl,*.rvt
html+cheetah,html+spitfire,htmlcheetahNone
js+cheetah,javascript+cheetah,js+spitfire,javascript+spitfireNone
cheetah,spitfire*.tmpl,*.spt
xml+cheetah,xml+spitfireNone
cfc*.cfc
cfm*.cfm,*.cfml
cfsNone
css+django,css+jinjaNone
css+erb,css+rubyNone
css+genshitext,css+genshiNone
css+phpNone
css+smartyNone
django,jinjaNone
erbNone
html+evoque*.html
evoque*.evoque
xml+evoque*.xml
genshi,kid,xml+genshi,xml+kid*.kid
genshitextNone
html+handlebars*.handlebars,*.hbs
handlebarsNone
html+django,html+jinja,htmldjangoNone
html+genshi,html+kidNone
html+php*.phtml
html+smartyNone
js+django,javascript+django,js+jinja,javascript+jinjaNone
js+erb,javascript+erb,js+ruby,javascript+rubyNone
js+genshitext,js+genshi,javascript+genshitext,javascript+genshiNone
js+php,javascript+phpNone
js+smarty,javascript+smartyNone
jsp*.jsp
css+lassoNone
html+lassoNone
js+lasso,javascript+lassoNone
xml+lassoNone
liquid*.liquid
css+makoNone
html+makoNone
js+mako,javascript+makoNone
mako*.mao
xml+makoNone
mason*.m,*.mhtml,*.mc,*.mi,autohandler,dhandler
css+myghtyNone
html+myghtyNone
js+myghty,javascript+myghtyNone
myghty*.myt,autodelegate
xml+myghtyNone
rhtml,html+erb,html+ruby*.rhtml
smarty*.tpl
ssp*.ssp
tea*.tea
html+twig*.twig
twigNone
html+velocityNone
velocity*.vm,*.fhtml
xml+velocityNone
xml+django,xml+jinjaNone
xml+erb,xml+rubyNone
xml+phpNone
xml+smartyNone
yaml+jinja,salt,sls*.sls
cucumber,gherkin*.feature
awk,gawk,mawk,nawk*.awk
vim*.vim,.vimrc,.exrc,.gvimrc,vimrc,exrc,gvimrc,vimrc,gvimrc
pot,po*.pot,*.po
httpNone
irc*.weechatlog
todotxttodo.txt,*.todotxt
coq*.v
isabelle*.thy
lean*.lean
urbiscript*.u
cirru*.cirru
duel,jbst,jsonml+bst*.duel,*.jbst
qml*.qml
slim*.slim
xquery,xqy,xq,xql,xqm*.xqy,*.xquery,*.xq,*.xql,*.xqm