JExtBOX Code Display Documentation

Lets take power of GeSHi into your Joomla site. This plugin can highlight a code of almost all major language.

Home Page
Extension Home Page
JED Page
Page on The JED
Live Demo
Joomla 3.x
component, plugin
1.5.1 on 19 Jan 2017

Lets take power of GeSHi into your Joomla site. This extension highlights a code of almost all major language in your Joomla articles.

Easy to use and also configurable and powerful.

  1. Editor button for insert code listing
  2. With or without line numbers
  3. Starting value of line numbering
  4. Optional popup modal window, it displays your code as plain text
  5. Custom CSS
  6. Parameter for add JS library dependencies
  7. Editor button configurations: default language, initial value for starting value of line numbering

1.5.1. 2017-01-19. Front-end editor has been supported.

1.5.0. 2016-04-23. Editor button has been added.

1.4.0. 2016-03-11. New parameter for add JS library dependencies. Code improvement.

1.3.0. 2015-01-27. Popup window bug has been solved for Joomla 3. New parameters.

1.2.0. 2013-11-16. Language file has changed. New option has added for jQuery duplication check. Fancybox has updated to v2.1.5. jQuery has updated to 1.9.0.

1.1.0. 2013-06-23. jQuery duplication check.

1.0.0. 2012-12-08. Initial release.


There is two way to insert code listing into articles.

  1. Editor Button - Look at a button "Insert Code Listing" from additional buttons for an editor.
  2. Manual typing

[code start:17 lang:php]<?php
   for($i = 0; $i < 10; $i++){
      echo 'Hello World';


This plugin has very effective syntax. You must insert any character of #:=-&| before language name. And must write [code. All others are almost accepted. Example:

  • [code start=17 language:php]<?php echo 'Hello World'; ?>[/code]
  • [code s-17 l-php]<?php echo 'Hello World'; ?>[/code]
  • [code17:php]<?php echo 'Hello World'; ?>[/code]

Language names in syntax

abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, caddcl, cadlisp, cfdg, cfm, c_mac, cpp, cpp-qt, csharp, css, css-gen, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, per, perl, php, php-brief, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80

You can see full list from this page.


You can configure this extension with core component com_config.

  1. Open "Global Configuration".
  2. Click "JExtBOX Code Display" on the sidebar. The configuration page will have opened.

Known Issues

Message "Deprecated" from GeSHi on PHP 7. But it's working properly on PHP 7. The extension will be updated after new release of GeSHi.