脚 本 之 家 www.jb51.net
页面导航:  不限条件-->syntaxhighlighter
本地搜索:
它可以在网页中对各种程序源代码语法进行加亮显示。支持当前流行的各种编程语言:C#、CSS、C++、Delphi、Java、JavaScript、PHP、Python、Ruby、SQL、VisualBasic、XML/HTML下载地址:http://www.dreamprojections.com/syntaxhighlighter/或http://code.google.com/p/syntaxhighlighter/演示地址:http://www.dreamprojections.com/syntaxhighlighter/Tests/PHP.html该工具核心基于javascript,使用...
http://www.jb51.net//article/15741.htm
PlacingthecodePlaceyourcodeonthepageandsurrounditwith<pre>tag.Setnameattributetocodeandclassattributetooneofthelanguagealiasesyouwishtouse.<prename="code"class="c-sharp">...somecodehere...</pre>NOTE:Oneimportantthingtowatchoutforisopeningtriangularbracket<.Itmustbereplacedwithan...
http://www.jb51.net//article/10485.htm
呵呵,因为到现在为止,BLOG用的都是LBS,感觉缺少很多自己喜欢用的功能,这次终于下定决心自己写BLOG程序了,为兼容之前的BLOG,内容入库的格式仍会保持与LBS的一致。因为自己的BLOG中贴代码会比较多,帮考虑用JS来实现对code的语法标亮效果。以前曾看过了下dp.SyntaxHighlighter,但并未深入研究-_-在新的BLOG中打算加入代码标亮功能,这段时间就先好好研究研究:)参考地址:http://www.dreamprojections.com/syntaxhighlighter/dp.SyntaxHighlighterisafreeJavaScripttoolforsou...
http://www.jb51.net//article/6665.htm
共有:3/10,当前1/1页  [首页] [上一页] 1 [下一页] [尾页] 转到: