
//
//
//
//
//
//
//
//
//
//
软件Tags:
Download and extract Chili's zip file SOMEWHERE into your site
step 2: Page: setup Chili into your pageAdd the following lines to the HEAD element of your page:
<scripttype="text/javascript"src="SOMEWHERE_ELSE/jQuery.js"></script><scripttype="text/javaScript"src="SOMEWHERE/jQuery.chili-2.2.js"></script><scripttype="text/javascript">ChiliBook.recipeFolder="SOMEWHERE/";</script> step 3: Code: mark your snippets for ChiliPut your snippets inside CODE elements with a class like the language. For example, the above snippet was introduced in this page like this:
<codeclass="html"><script type="text/javascript" src="SOMEWHERE_ELSE/jQuery.js"></script><script type="text/javaScript" src="SOMEWHERE/jQuery.chili-2.2.js"></script><script type="text/javascript">ChiliBook.recipeFolder = "SOMEWHERE/"; </script></code> jQuery chili 2.2同样是一个JS插件程序,功能是完成指定代码块的语法高亮显示功能。目前是2.2官方最新版,支持ASP/PHP/.NET/C#/JSP/JAVA/VB/CSS/HTML/XHTML/XML/DELPHI/VC++/C/SQL等多种语法脚本的高亮显示功能。 使用方法可参见://noteslog.com/personal/projects/chili/2.2/