Joomler!.net - Decided on Joomla!

Wiki or Wordpress? No it is JContentPlus.

 

Archives

Blog

Demo

Home » Blog » SyntaxHighlighter 2.0.0 for Joomla
0 votes
Written by:Joomler! 28386 hits Saturday, 19 September 2009 07:35

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.
  • 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;
}
 

JContentPlus for Joomla!1.5 powered by Joomler!.net

デル株式会社
joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.