18 April 2007

From Organic Design wiki
Revision as of 12:52, 18 April 2007 by Nad (talk | contribs)
Warning.svg This is a blog item that needs to be converted to the new Bliki format


GeSHi back up and running again

I'm slowly fixing all the new problems, today I've got GeSHi ready so that code can be highlighted properly without affecting the execution. It works with the usual geshi tags like <perl> or <php>, but also has a simple method of applying syntax to whole articles by including {{php}} or {{perl}} etc. These are best added to comments so normal raw requests still retrieve a workable script.

Executable scripts can now be composed of templates or parser-functions, but must have templates=expand added to the query-string of a raw request.

I'll get Bender to go through and add the templates to the current scripts soon.

  • see GeSHi for more details