WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked
out by detecting the layout of the installation.
To complete the bootstrap process you should either:
- Restore the missing LocalSite.cfg from a backup, or
- Complete the new Foswiki installation:
You have been logged in as a temporary administrator.
Any requests made to this Foswiki will be treated as requests made by an administrator with full rights
Your temporary administrator rights will "stick" until you've logged out from this session.
A Proxy server was detected. {ForceDefaultUrlHost} has been enabled.
If this page is rendered without any styles and you are using SSL (https), your proxy server may be misconfigured.
It must generate the
X-Forwarded-Proto header
. Try adding ?SSL=1 to the Foswiki URL to bypass this issue.
Homepage:
https://github.com/aercolino/Chili
Author(s): Andrea Ercolino
Version: 2.2_1
Chili is the jQuery code highlighter plugin.
Features:
- Very fast highlighting, trivial setup, fully customizable, thoroughly documented, and MIT licensed
- Renders identically on IE, Firefox, Mozilla, Opera, and Safari
- Comes bundled with recipes for C++, C#, CSS, Delphi, Java, JavaScript, LotusScript, MySQL, PHP, and XHTML
- Many configuration options: Static, Dynamic, Automatic, Manual, Ad-Hoc, with Metaobjects.
- Provides fine control over which elements get highlighted by means of a jQuery selector or the mithical jQuery chainability.
- Fully supports javascript regular expressions, including backreferences
- The replacement format gives full control on what HTML is used for highlighting
- Provides examples which show setups and 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 (Navigate to the
Extensions
tab,
JQueryPlugin
sub-tab).
Syntax can be highlighted using the
<verbatim> tag and the
class attribute:
<verbatim class="html">
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello World</h1>
</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 |