开发 em>部分。 p>Supported languages
支持的语言 h3>
Here is list of supported by CodeColorer languages: 4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, aimms, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf,
以下是CodeColorer语言支持的列表:4cs,6502acme,6502kickass,6502tasm,68000devpac,abap,actionscript,actionscript3,ada,aimms,algol68,apache,applescript,apt_sources,arm,asm,asp,渐近线,autoconf,
autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, batch, bf, biblatex, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, c_winapi, caddcl, cadlisp, ceylon, cfdg, cfm, chaiscript, chapel,
autohotkey,autoit,avisynth,awk,bascomavr,bash,basic4gl,批处理,bf,biblatex,bibtex,blitzbasic,bnf,boo,c,c_loadrunner,c_mac,c_winapi,caddcl,cadlisp,锡兰,cfdg,cfm,chai
cil, clojure, cmake, cobol, coffeescript, cpp-qt, cpp-winapi, cpp, csharp, css, cuesheet, d, dart, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript,
cil,clojure,cmake,cobol,coffeescript,cpp-qt,cpp-winapi,cpp,csharp,css,cuesheet,d,dart,dcl,dcpu16,dcs,delphi,diff,div,dos,dot,e,ecmascript,
eiffel, email, epc, erlang, euphoria, ezt, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell,
埃菲尔,电子邮件,epc,erlang,欣快感,ezt,f1,猎鹰,fo,fortran,freebasic,freeswitch,fsharp,gambas,gdb,genero,genie,gettext,glsl,gml,gnuplot,go,groovy,gwbasic,haskell,
haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, ispfpanel, j, java, java5, javascript, jcl, jquery, julia, julia, kixtart, klonec, klonecpp, kotlin, latex,
haxe,hicest,hq9plus,html4strict,html5,icon,idl,ini,inno,intercal,io,ispfpanel,j,java,java5,javascript,jcl,jquery,julia,julia,kixtart,klonec,klonecpp,kotlin,latex,
lb, ldif, lisp, llvm, locobasic
lb,ldif,lisp,llvm,locobasic
, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, mathematica, matlab, mercury, metapost, mirc, mk-61, mmix, modula2, modula3, mpasm, mxml, mysql, nagios
,logtalk,lolcode,lotusformulas,lotusscript,lscript,lsl2,lua,m68k,magiksf,make,mapbasic,mathematica,matlab,水银,metapost,mirc,mk-61,mmix,modula2,modula3,mpasm,mxml,mysql,nagios
, netrexx, newlisp, nginx, nimrod, nsis, oberon2, objc, objeck, ocaml-brief, ocaml, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6
,netrexx,newlisp,nginx,nimrod,nsis,oberon2,objc,objeck,ocaml-brief,ocaml,octave,oobas,oorexx,oracle11,oracle8,oxyne,oz,parasail,parigp,pascal,pcre,per,perl,perl6
, pf, phix, php-brief, php, pic16, pike, pixelbender, pli, plsql, postgresql, postscript, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q
,pf,phix,php-brief,php,pic16,pike,pixelbender,pli,plsql,postgresql,postscript,povray,powerbuilder,powershell,proftpd,进度,prolog,属性,providex,purebasic,pycon,pys60,python,q
, qbasic, qml, racket, rails, rbs, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, rust, sas, sass, scala, scheme, scilab, scl, sdlbasic, smalltalk, smarty, spark, sparql, sql
,qbasic,qml,球拍,rails,rbs,rebol,reg,rexx,机器人,rpmspec,rsplus,ruby,rust,sas,sass,scala,scheme,scilab,scl,sdlbasic,smalltalk,smarty,spark,sparql,sql
, standardml, stonescript, swift, systemverilog, tcl, tclegg, teraterm, texgraph, text, thinbasic, tsql, twig, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vbscript, vedit, verilog, vhdl, vim
,standardml,stonescript,swift,systemverilog,tcl,tclegg,teraterm,texgraph,文本,thinbasic,tsql,twig,Typoscript,unicon,upc,urbi,uscript,vala,vb,vbnet,vbscript,vedit,verilog,vhdl,vim
, visualfoxpro, visualpro
,visualfoxpro,visualpro
log, whitespace, whois, winbatch, xbasic, xml, xojo, xorg_conf, xpp, xyscript, yaml, z80, zxbasic.
日志,空格,whois,winbatch,xbasic,xml,xojo,xorg_conf,xpp,xyscript,yaml,z80,zxbasic。 p>
Development
发展 h3>
Sources of this plugin are available both in SVN and Git:
此插件的来源在SVN和Git中均可用: p>
ul>
Feel free to check them out, make your changes and send me patches or pull requests.
随时检查它们,进行更改,并向我发送补丁或请求。
Promise, I will apply every patch (of course, if they add a value to the product).
保证,我将应用每个补丁(当然,如果它们为产品增加了价值)。
Email for patches, suggestions, or bug reports: kpumuk@kpumuk.info.
通过电子邮件发送补丁,建议或错误报告: kpumuk@kpumuk.info 。 p>
If you're interested in translating CodeColorer to your language, please check out the translation page如果您有兴趣将CodeColorer转换为您的语言,请查看翻译页面 for the plugin.
(用于插件)。 p>
Customization
自定义 h3>
Syntax coloring is highly customizable: you could change the color scheme for all languages or a specific language.
语法着色是高度可定制的:您可以更改所有语言或特定语言的配色方案。
You could find CodeColorer CSS in wp-content/plugins/codecolorer/codecolorer.css file.
您可以在 wp-content / plugins / codecolorer / codecolorer.css strong>文件中找到CodeColorer CSS。To change colors for all languages edit lines below Color scheme section.
要更改所有语言的颜色,请编辑配色方案 em>部分下面的行。 p>There is simple mapping exists between Textmate color themes and CodeColorer ones:
Textmate颜色主题和CodeColorer颜色主题之间存在简单的映射: p>
/* "Slush & Poppies" color scheme (default) */ / *“ Slush&Poppies”配色方案(默认)* /.codecolorer-container, .codecolorer { color: #000000;
.codecolorer-container,.codecolorer {color:#000000;
background-color: #F1F1F1;
背景颜色:#F1F1F1;
}
}
/* Comment */
/ *评论* /
.codecolorer .co0, .codecolorer .co1, .codecolorer .co2, .codecolorer .co3, .codecolorer .co4, .codecolorer .coMULTI { color: #406040;
.codecolorer .co0,.codecolorer .co1,.codecolorer .co2,.codecolorer .co3,.codecolorer .co4,.codecolorer .coMULTI {color:#406040;
font-style: italic;
字体样式:斜体;
}
}
/* Constant */
/* 不变 */
.codecolorer .nu0, .codecolorer .re3 { color: #0080A0;
.codecolorer .nu0,.codecolorer .re3 {color:#0080A0;
}
}
/* String */
/ *字符串* /
.codecolorer .st0, .codecolorer .st_h, .codecolorer .es0, .codecolorer .es1 { color: #C03030;
.codecolorer .st0,.codecolorer .st_h,.codecolorer .es0,.codecolorer .es1 {color:#C03030;
}
}
/* Entity */
/* 实体 */
.codecolorer .me1, .codecolorer .me2 { color: #0080FF;
.codecolorer .me1,.codecolorer .me2 {color:#0080FF;
}
}
/* Keyword */
/ *关键字* /
.codecolorer .kw1, .codecolorer .kw2, .codecolorer .sy1 { color: #2060A0;
.codecolorer .kw1,.codecolorer .kw2,.codecolorer .sy1 {color:#2060A0;
}
}
/* Storage */
/ *存储* /
.codecolorer .kw3, .codecolorer .kw4, .codecolorer .kw5, .codecolorer .re2 { color: #008080;
.codecolorer .kw3,.codecolorer .kw4,.codecolorer .kw5,.codecolorer .re2 {color:#008080;
}
}
/* Variable */
/ *变量* /
.codecolorer .re0, .codecolorer .re1 { color: #A08000;
.codecolorer .re0,.codecolorer .re1 {color:#A08000;
}
}
/* Global color */
/ *全局颜色* /
.codecolorer .br0, .codecolorer .sy0 { color: #000000;
.codecolorer .br0,.codecolorer .sy0 {color:#000000;
}
}
code> pre>
Check the codecolorer.css file to get more examples.
检查 codecolorer.css strong>文件以获取更多示例。 p>