Supplier

http://alexgorbatchev.com/SyntaxHighlighter/

The site no longer exists. The plugin only uses javascript, unlike the family geshi which she uses php.

The site does not work very well.

Syntax

<pre class="brush:php;gutter:false;toolbar:false">    
    public static function getpost() {
        if (version_compare(JVERSION, '4.0', 'ge')){
            return JFactory::getApplication()->input->getArray(array());
        }
        else {
            return call_user_func_array('AttachmentsHelper::get', ['post']);
        }
    }
</pre>

The result

	
    public static function getpost() {
        if (version_compare(JVERSION, '4.0', 'ge')){
            return JFactory::getApplication()->input->getArray(array());
        }
        else {
            return call_user_func_array('AttachmentsHelper::get', ['post']);
        }
    }

Corrective

I had a problem with Internet Explorer

can't find a brush

I made a fix in syntaxhighlighter:

JFactory::getDocument()->addScriptDeclaration($js); 
//added  
JFactory::getDocument()->addScript( 'plugins/content/syntaxhighlighter/js/shBrushPhp.js' );
JFactory::getDocument()->addScript( 'plugins/content/syntaxhighlighter/js/shBrushCss.js' );