Difference between revisions of "Syntax Highligh"

From Catglobe Wiki
Jump to: navigation, search
(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…')
 
Line 1: Line 1:
 
This extension adds the <source> tag to present formatted source code
 
This extension adds the <source> tag to present formatted source code
On the wiki page, you can now use "source" elements:<source lang="php">
+
On the wiki page, you can now use "source" elements
<?php
+
<source lang="php">
    $v = "string";    // sample initialization
+
// your code here
?>
 
html text
 
<?
 
    echo $v;        // end of php code
 
?>
 
 
</source>
 
</source>
 
 
 
 
  [[category:Wiki guidelines]]
 
  [[category:Wiki guidelines]]

Revision as of 10:23, 25 November 2009

This extension adds the

 tag to present formatted source code
On the wiki page, you can now use "source" elements
<source lang="php">
// your code here