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']);
        }
    }