JQueryChili

Chili is the jQuery code highlighter plugin.

Features:

Examples

To enable chili add
%JQREQUIRE{"chili"}%
somewhere on the page, or add it to the {JQueryPlugin}{DefaultPlugins} list in the General Settings section of the JQuery configuration.
Error: no such plugin chili

Note: The JQuery chili plugin does not appear to be enabled on your system. It is disabled by default due to some recent browser compatbility issues. Administrators: See the configure JQuery tab

Syntax can be highlighted using the <verbatim> tag and the class attribute:

<verbatim class="html">

<html>
  <head>
    <title>Hello World</title>
  </head>
  <body>
    <font size="24px">Hello World</font>
  </body>
</html>

</verbatim>

Available class attributes:
cplusplus C++
csharp C#
css Cascading Style Sheets
bash shell syntax
delphi Delphi
html Hypertext Markup Language
java Java
js JavaScript
lotusscript LotusScript
php-f Hypertext Preprocessor -f
php Hypertext Preprocessor
sql Structured Query Language
tml Wiki Markup Language


This topic: System > JQueryPlugin > JQueryChili
Topic revision: 23 Aug 2010, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback