今天把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,dockerfile | Dockerfile,*.docker |
ini,cfg,dosini | *.ini,*.cfg |
kconfig,menuconfig,linux-config,kernel-config | Kconfig,*Config.in*,external.in*,standard-modules.in |
lighty,lighttpd | None |
nginx | None |
properties,jproperties | *.properties |
registry | *.reg |
squidconf,squid.conf,squid | squid.conf |
pypylog,pypy | *.pypylog |
vctreestatus | None |
css | *.css |
sass | *.sass |
scss | *.scss |
croc | *.croc |
d | *.d,*.di |
minid | None |
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 |
iex | None |
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,debcontrol | control |
nsis,nsi,nsh | *.nsi,*.nsh |
spec | *.spec |
sourceslist,sources.list,debsources | sources.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 |
jlcon | None |
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 |
basemake | None |
cmake | *.cmake,CMakeLists.txt |
make,makefile,mf,bsdmake | *.mak,*.mk,Makefile,makefile,Makefile.*,GNUmakefile |
bbcode | None |
groff,nroff,man | *.[1234567],*.man |
trac-wiki,moin | None |
css+mozpreproc | *.css.in |
mozhashpreproc | None |
javascript+mozpreproc | *.js.in |
mozpercentpreproc | None |
xul+mozpreproc | *.xul.in |
rst,rest,restructuredtext | *.rst,*.rest |
tex,latex | *.tex,*.aux,*.toc |
matlab | *.m |
matlabsession | None |
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 |
antlr | None |
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 |
ragel | None |
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 |
numpy | None |
python3,py3 | None |
py3tb | *.py3tb |
pycon | None |
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,irb | None |
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 |
raw | None |
text | *.txt |
mysql | None |
plpgsql | None |
psql,postgresql-console,postgres-console | None |
postgresql,postgres | None |
rql | *.rql |
sql | *.sql |
sqlite3 | *.sqlite3-console |
tcl | *.tcl,*.rvt |
html+cheetah,html+spitfire,htmlcheetah | None |
js+cheetah,javascript+cheetah,js+spitfire,javascript+spitfire | None |
cheetah,spitfire | *.tmpl,*.spt |
xml+cheetah,xml+spitfire | None |
cfc | *.cfc |
cfm | *.cfm,*.cfml |
cfs | None |
css+django,css+jinja | None |
css+erb,css+ruby | None |
css+genshitext,css+genshi | None |
css+php | None |
css+smarty | None |
django,jinja | None |
erb | None |
html+evoque | *.html |
evoque | *.evoque |
xml+evoque | *.xml |
genshi,kid,xml+genshi,xml+kid | *.kid |
genshitext | None |
html+handlebars | *.handlebars,*.hbs |
handlebars | None |
html+django,html+jinja,htmldjango | None |
html+genshi,html+kid | None |
html+php | *.phtml |
html+smarty | None |
js+django,javascript+django,js+jinja,javascript+jinja | None |
js+erb,javascript+erb,js+ruby,javascript+ruby | None |
js+genshitext,js+genshi,javascript+genshitext,javascript+genshi | None |
js+php,javascript+php | None |
js+smarty,javascript+smarty | None |
jsp | *.jsp |
css+lasso | None |
html+lasso | None |
js+lasso,javascript+lasso | None |
xml+lasso | None |
liquid | *.liquid |
css+mako | None |
html+mako | None |
js+mako,javascript+mako | None |
mako | *.mao |
xml+mako | None |
mason | *.m,*.mhtml,*.mc,*.mi,autohandler,dhandler |
css+myghty | None |
html+myghty | None |
js+myghty,javascript+myghty | None |
myghty | *.myt,autodelegate |
xml+myghty | None |
rhtml,html+erb,html+ruby | *.rhtml |
smarty | *.tpl |
ssp | *.ssp |
tea | *.tea |
html+twig | *.twig |
twig | None |
html+velocity | None |
velocity | *.vm,*.fhtml |
xml+velocity | None |
xml+django,xml+jinja | None |
xml+erb,xml+ruby | None |
xml+php | None |
xml+smarty | None |
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 |
http | None |
irc | *.weechatlog |
todotxt | todo.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 |