Error: no such theme PatternSkinTheme
-- JeffLeep - 2011-09-21

To enable the Chili plugin, I logged in as the administrator user, then went to the configure page

http://foswiki.cs.grinnell.edu/bin/configure

There, I clicked on "Extensions", then "JQueryPlugin", then added "Chili" to the "{JQueryPlugin}{DefaultPlugins}" list.

The chili function will now be used automatically at all times.

So, when you include code that you wish to be syntax-highlighted, use the verbatim tag, specifying what type of code you are highlighting with the class parameter:

<verbatim class="bash">
# We have defined the variable WORKSTATIONS by running the following script
. /home/stone/utilities/squeeze/machine-categories

for workstation in $WORKSTATIONS
do ssh root@$workstation  'echo "if [ "$SSH_CONNECTION" = "" ]; then  /usr/bin/papercut & fi" >> /etc/profile'
done
</verbatim>

There are a variety of options that you can put as the class for the verbatim tag:
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

I copied this table over from http://foswiki.org/System/JQueryChili?raw=on&rev=1 where you can go for more information on the Chili plugin
Topic revision: r1 - 2011-09-21, JeffLeep
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback