Difference between revisions of "18 April 2007"

From Organic Design wiki
m
m
Line 1: Line 1:
 
{{news|title=GeSHi back up and running again|img=|msg=
 
{{news|title=GeSHi back up and running again|img=|msg=
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.
+
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.
  
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.
 
 
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 [[User:Bender|Bender]] to go through and add the templates to the current scripts soon.
 
I'll get [[User:Bender|Bender]] to go through and add the templates to the current scripts soon.
 
*see [[GeSHi]] for more details
 
*see [[GeSHi]] for more details
 
}}
 
}}

Revision as of 12:52, 18 April 2007

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