See also the Chili Central

How to install Chili in 3 easy steps

step 1: Site: install Chili at your web server

Download and extract Chili's zip file SOMEWHERE into your site

step 2: Page: setup Chili into your page

Add the following lines to the HEAD element of your page:


<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> 
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:


<code class="html">
&lt;script type=&quot;text/javascript&quot; src=&quot;SOMEWHERE_ELSE/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javaScript&quot; src=&quot;SOMEWHERE/jquery.chili-2.2.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
	ChiliBook.recipeFolder     = &quot;SOMEWHERE/&quot;; 
&lt;/script&gt;
</code>

The escaping is needed for introducing text into an HTML page. Use my postable page to make it as simple as possible.

Examples