SyntaxHighlighter 2.0.0 for Joomla!1.5 Released
This is a plugin for syntaxhighlighting your code by using SyntaxHighlighter 2.0 Javascript Library.
*** Version 2.0.1 Released ***
About SyntaxHighligher 2.0 Javascript Library
Home : http://alexgorbatchev.com/wiki/SyntaxHighlighter
Project Home : http://code.google.com/p/syntaxhighlighter/
License : LGPL 3
How to use
- If your code is legacy(1.x), please set Legacy Mode to enabled.
- If you use Windows Live Writer, please see a following link.
- SyntaxHighlighter Plugin http://wlwsyntaxhighlighter.codeplex.com/
However this plugin is for SyntaxHighlighter version 1.x. If you use this live writer plugin, please set Legacy Mode to enabled in the parameters of SyntaxHighlighter Plugin of Joomla.
- SyntaxHighlighter Plugin http://wlwsyntaxhighlighter.codeplex.com/
- Please select a theme.
- Example
- <pre class="brush: php; first-line: true; ruler: true;">your source code</pre>
- More Info
protected function _getVersion()
{
$version = '';
$this->getData();
if($this->_data->type > 0){
$version = trim( JRequest::getVar('v', '', '', 'cmd') );
if(!empty($version)){
$version = '_'. $version;
}
}
return $version;
}









