How to install Chili in 3 easy steps
step 1:
Site: install Chili at your web server
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/
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 Chili
Put 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/
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。