You are here:
PANDA Wiki
>
System Web
>
JQueryPlugin
>
JQueryChili
(23 Aug 2010,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+ %TOPIC% %JQPLUGINS{"chili" format=" Homepage: $homepage <br /> Author(s): $author <br /> Version: $version " }% %STARTSECTION{"summary"}% 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 %ENDSECTION{"summary"}% ---++ Examples To enable chili add <verbatim class="tml">%JQREQUIRE{"chili"}%</verbatim> somewhere on the page, or add it to the ={JQueryPlugin}{DefaultPlugins}= list in the General Settings section of [[%SCRIPTURL{"configure"}%#JQueryPlugin$Extensions][the JQuery configuration]]. %JQREQUIRE{"chili"}% %IF{"context ChiliEnabled" else=' _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 [[%SCRIPTURL{"configure"}%#JQueryPlugin$Extensions][configure JQuery tab]]_ '}% Syntax can be highlighted using the *<verbatim>* tag and the <u>class</u> attribute: <verbatim class="html"> <verbatim class="html"> <html> <head> <title>Hello World</title> </head> <body> <font size="24px">Hello World</font> </body> </html> </verbatim> </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 |
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 23 Aug 2010,
ProjectContributor
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Cerenkov
Pandacerenkov
DCS
Daq
Pandadaq
Detector
EMC
EMPAnalysis
Forwardstraws
GEM
MC
Magnet
Main
Mvd
PANDAMainz
PWA
Pbook
Personalpages
Physics
Baryons
CharmoniumAndExotics
HadronsInNuclei
OpenCharm
PhysicsCmt
SPC
STT
Sandbox
ScrutinyGroup
System
Tagpid
Pandatagpid
Tagtrk
Pandatagtrk
Target
ClusterJetTarget
Tof
WebServices
YoungScientists
ZArchives
Български
_jméno_jazyka
Dansk
Deutsch
English
Español
Suomi
Français
Italiano
日本語
한글
Nederlands
Norsk
Polski
Português
Português brasileiro
Русский
Svenska
简体中文
正體中文
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding PANDA Wiki?
Send feedback