BitSensei

programmer knowledge

  • Increase font size
  • Default font size
  • Decrease font size
Home Web Joomla Using GeSHi in Joomla

Using GeSHi in Joomla

E-mail Print PDF

To use GeSHi in order to get your code highlighted in Joomla, you first need to enable the GeSHi plugin via the plugin manager.

If you want to use syntax highlighting for any language that didn't come pre-installed with Joomla, you'll need to download the GeSHi package from the developers site. Simply copy the php files from the "geshi/geshi" directory in the package to the "[JoomlaBase]/libraries/geshi/geshi/" directory on your server.

In order to highlight code, use the following syntax:

 
 <pre xml:lang="html">
 </pre>
 

Last Updated on Monday, 18 May 2009 20:11