Joomla_Downloads

Folder Path: \ Joomla Downloads \ Edition \ Code Display \

File: JsintaxHighlighter

4109.jpg
  
  
Uploaded:
18.06.09
Modified:
20.06.09
File Size:
83 KB
Downloads:
15
Version
1.0

JSyntaxHighlighter is a plugin developed by me for Joomla! 1.5 which is based on code syntax highlighter SyntaxHighlighter Alex Gorbatchev. This plugin allows you to all those programmers who want to publish parts of source code on their site to do so in beautiful style and offering an unparalleled clarity to their readers.
To download the plugin click on the right.

And since it is better to see that light, here is the plugin in action.

To enter the code shown on your page, simply include the portion of code between CODE (type: * * type;) and (/ CODE), type * replacing * with the name of the language used.
The highlight of supported types are: bash, cpp, csharp, css, delphi, diff, groovy, java, jscript, php (the one used by default), plain, python, ruby, scala, sql, vb, xml.
You can also add the following options with the format "option * *: * * value;

* Collapse (false / true chiude lines and opens with a click)
* First-line (the number of departure of the first line of code)
* Gutter (true / false bar displays the line numbers)
* Ruler (false / true shows the ruler in top position)
* Toolbar (true / false show the icons for the functions of copying and pasting and printing in the upper right)
* Wrap-lines (true / false show the lines with the auto-wrap)

Eg
(CODE brush: jscript; ruler: true, first-line: 10;).