Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Syntax Highligh: Difference between revisions

From Catglobe Wiki
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 <source> tag to present formatted source code
This extension adds the tag to present formatted source code<br>
On the wiki page, you can now use "source" elements:<source lang="php">
On the wiki page, you can now use "source" elements
<?php
For example:<br>
    $v = "string";    // sample initialization
<nowiki><source lang="xml">
?>
// your code here
html text
</source></nowiki><br>
<?
Support most common language code: csharp,asp, java, java5; sql, xml, php and ...
    echo $v;        // end of php code
?>
</source>


 
[[category:Wiki guidelines]]
 
[[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 ...