Annotation of /mambo/branches/4.6/help/mambots.geshi.html
Parent Directory
|
Revision Log
Revision 553 - (view) (download) (as text)
| 1 : | csouza | 553 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 : | <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> | ||
| 3 : | <head> | ||
| 4 : | <title>Mambot - GeSHi</title> | ||
| 5 : | <link href="css/help.css" rel="stylesheet" type="text/css" /> | ||
| 6 : | </head> | ||
| 7 : | <body><strong class="title">Mambot: GeSHi</strong> | ||
| 8 : | csouza | 551 | <table width="100%" border="1" cellspacing="0" cellpadding="3"> |
| 9 : | <tr> | ||
| 10 : | <td width="16%" align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Purpose:</td> | ||
| 11 : | <td width="84%" valign="top" class="data"><p>This displays formatted | ||
| 12 : | code in Content Items based on the GeSHi highlighting engine. | ||
| 13 : | This is an enhanced version of Code Support, | ||
| 14 : | allowing the rendering of many different programming languages | ||
| 15 : | with color-highlighted code by specifying the to-be-used | ||
| 16 : | language.</p> | ||
| 17 : | <p>NOTE: In some versions of Mambo , this bot has an incompatibility | ||
| 18 : | with the Email Cloaking Mambot.</p></td> | ||
| 19 : | </tr> | ||
| 20 : | <tr> | ||
| 21 : | <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Usage:</td> | ||
| 22 : | <td valign="top" class="data">Use the "pre" tag and add the | ||
| 23 : | programming language you want to use for highlighting purposes | ||
| 24 : | as a parameter. <br /> | ||
| 25 : | Example: | ||
| 26 : | <code>< pre lang="xml" >your code here ... < /pre ></code></td> | ||
| 27 : | </tr> | ||
| 28 : | <tr> | ||
| 29 : | <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Default State: </td> | ||
| 30 : | <td valign="top" class="data">Unpublished</td> | ||
| 31 : | </tr> | ||
| 32 : | <tr> | ||
| 33 : | <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Parameters:</td> | ||
| 34 : | <td valign="top" class="data">The mambot version of the GeSHi highlight | ||
| 35 : | code comes with the following highlighters for the most common | ||
| 36 : | renders installed, ready to be used: | ||
| 37 : | |||
| 38 : | <ul > | ||
| 39 : | <li>CSS => use lang="css"</li> | ||
| 40 : | <li>Html4 Strict => use lang="html4strict"</li> | ||
| 41 : | <li>JavaScript => use lang="javascript"</li> | ||
| 42 : | <li>PHP => use lang="php"</li> | ||
| 43 : | <li>PHP Brief => use lang="php-brief"</li> | ||
| 44 : | <li>SQL => use lang="sql"</li> | ||
| 45 : | <li>XML => use lang="xml"</li> | ||
| 46 : | </ul> | ||
| 47 : | Should you need additonal languages, you may download the full package from | ||
| 48 : | the developer site: <a href= | ||
| 49 : | "http://qbnz.com/highlighter/">http://qbnz.com/highlighter/</a> which includes | ||
| 50 : | over 30 languages. You should then upload the required "newLanguage.php" from | ||
| 51 : | the package into your "<em>\mambots\content\geshi\geshi</em>" folder.</td> | ||
| 52 : | </tr> <tr> | ||
| 53 : | <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Toolbar Icons: </td> | ||
| 54 : | <td valign="top" class="data"><ul> | ||
| 55 : | <li><strong>Save:</strong> Save your changes. </li> | ||
| 56 : | <li><strong>Apply:</strong> Apply your changes to the site without | ||
| 57 : | saving. </li> | ||
| 58 : | <li><strong>Close:</strong> Cancel the present operation without | ||
| 59 : | saving.</li> | ||
| 60 : | </ul></td> | ||
| 61 : | </tr> | ||
| 62 : | </table> | ||
| 63 : | |||
| 64 : | csouza | 553 | </body></html> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

