Easy Code Highlighter

Easy Code Highlighter is an easy to use system plugin for highlighting code snippets in Joomla . This plugin is supported by all versions of Joomla and has 8 theme styles to define. The highlighter is supported by about 18 programming languages.

VIEW DETAILS » DOWNLOAD NOW »

PHP CODE

 <?php
echo "Welcome to PHP";
?>
<span>Hello</span>
<?php
/***********************************
** Multiline block comments
 **********************************/
$stringWithUrl = "http://alexgorbatchev.com";
$stringWithUrl = 'http://alexgorbatchev.com';
 
ob_start("parseOutputBuffer");      // Start Code Buffering
session_start();
 
function parseOutputBuffer(\$buf) {
 global $portal_small_code, $portal_gzcompress;
 global $PHP_SELF, $HTTP_ACCEPT_ENCODING;
 
 // cleaning out the code.
 if($portal_small_code && !\$portal_gzcompress) {
 $buf = str_replace("    ", "", $buf);
 $buf = str_replace("\n", "", $buf);
 $buf = str_replace(chr(13), "", $buf);
 }
 }
?>

CSS CODE

 .sample_div{
border-radius: 5px 5px 5px 5px;
border: 2px solid #FF0;
font-weight: bold !important;
}