存档

‘Computers’ 分类的存档

How to use CodeColorer

2009年5月7日 Jarod Lee 没有评论

Syntax

To insert code snippet into your post (or comment) you should use <code lang=”lang”>code</cc> syntax.  Starting from version 0.6.0 you could specify additional CodeColorer options inside [cc] tag:

<cc lang="php" tab_size="2" lines="40" no_cc = 1>
// some code  here
</cc>

Note: You should always use double quotes or single quotes around the parameter value. Boolean values could be passed using string true or false, number 1 or 0.

阅读全文…

分类: Web, Weblogs 标签:

使用插件CodeColorer后的效果【Code Sample】

2009年5月7日 Jarod Lee 没有评论
1
2
3
4
5
int main()
{
    print ("%s", "hello world!");
    return 0;
}
分类: Web, Weblogs 标签:

免费的计算机图书库, 不错的网站

2009年5月3日 Jarod Lee 没有评论
分类: Computers 标签: