呵呵,因为到现在为止,BLOG用的都是LBS,感觉缺少很多自己喜欢用的功能,这次终于下定决心自己写BLOG程序了,为兼容之前的BLOG,内容入库的格式仍会保持与LBS的一致。
因为自己的BLOG中贴代码会比较多,帮考虑用JS来实现对code的语法标亮效果。
以前曾看过了下dp.SyntaxHighlighter,但并未深入研究-_-
在新的BLOG中打算加入代码标亮功能,这段时间就先好好研究研究:)

参考地址:http://www.dreamprojections.com/syntaxhighlighter/ dp.SyntaxHighlighter is a free JavaScript tool for source code syntax highlighting.

The script is meant to help a developer to post code snippets online with ease and without having to worry about applying format. People who use blogs like MovableType, .Text (dotText), dasBlog and any other system can easily add code to their posts.

If you are looking to get syntax highlighter for your blog, give dp.SyntaxHighlighter a try!
演示地址:
http://www.cnlei.com/codelab/SyntaxHighlighter_1.4.1/index.html
华山资源网 Design By www.eoogi.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
华山资源网 Design By www.eoogi.com