
//
//
//
//
//
//
//
//
//
//
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/友情链接 | 关于我们 | 下载帮助(?) | 联系我们 | 投诉举报
CopyRight © 2010-2023 这里下载 heredown.com , All Rights Reserved 版权所有 蒙ICP备2023006002号-1 蒙公网安备15052402000135
声明: 本站所有软件和文章来自互联网 如有异议 请与本站联系
声明: