Syntax Highligh: Difference between revisions
From Catglobe Wiki
More actions
 Created page with 'This extension adds the <source> tag to present formatted source code On the wiki page, you can now use "source" elements:<source lang="php"> <?php     $v = "string";    // sampl…'    | 
				No edit summary    | 
				||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This extension adds the   | This extension adds the tag to present formatted source code<br>  | ||
On the wiki page, you can now use "source" elements:<source lang="  | On the wiki page, you can now use "source" elements  | ||
For example:<br>  | |||
<nowiki><source lang="xml">  | |||
// your code here  | |||
</source></nowiki><br>  | |||
<  | Support most common language code: csharp,asp, java, java5; sql, xml, php and ...  | ||
<  | |||
   | [[category:Wiki guidelines]]  | ||
   | |||
Latest revision as of 09:30, 25 November 2009
This extension adds the tag to present formatted source code
On the wiki page, you can now use "source" elements
For example:
<source lang="xml">
// your code here
</source>
Support most common language code: csharp,asp, java, java5; sql, xml, php and ...