约定

首先当你做这件事情时,你应该像你写代码一样热爱它,这样你才能做成让自己满意的东西,同时让他人满意。我们不求nb的文章和技术,只求真实和可操作性。

1.URL

所有文章的url为以下格式:
http://dev.cppfun.com/eng-postname.htm

http://dev.cppfun.com/eng_postname.htm

2.文章标题尽量简单、符合其主要观点

3.文章上传的图片,大小合适,在插入时有多种选择,尽量在上传之前合适处理,然后插入原图

4.如果要写类似Markdown格式的代码或段落,直接以

<code>

开始并以

</code>

结束
eg:

<code>
some code or text
</code>

5.代码插入,每行代码的宽度不要超过80个字符

php

<code lang="php">
echo "hello,php";
</code>

python

<code lang="python">
print "hello,python"
</code>

java

<code lang="java">
System.out.println("hello,java");
</code>

c++

<code lang="cpp">
std::out<<"Hello,cplusplus"<<std::endl;
</code>

此外还支持如下多种语言:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources,
 asm, asp, autoit, avisynth, bash, basic4gl, bf, bibtex, blitzbasic, bnf,
boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cmake, cobol, cpp-qt,
csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, erlang,
fo, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell,
hq9plus, html4strict, idl, ini, inno, intercal, io, java5, javascript,
kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode, lotusformulas,
lotusscript, lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm,
mxml, mysql, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle11, oracle8,
pascal, per, perl, php-brief, pic16, pixelbender, plsql, povray, powershell,
progress, prolog, properties, providex, qbasic, rails, rebol, reg, robots,
ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl,
teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, vim,
visualfoxpro, visualprolog, whitespace, whois, winbatch, xml, xorg_conf, xpp,
yaml, z80.

6.文章分类和标签
每个文章必须设置其分类和标签,如果不确定分类,全部选用common

7.提交的文章务必原创且保证其代码有一定的实际操作性

8.当你对发布系统或插件不满意,可以随时和我(Jerry)沟通

发表评论