Difference between revisions of "Test"

From CDOT Wiki
Jump to: navigation, search
(added alternate parser tags; will only work when extension is installed)
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Test Page
 
Test Page
  
<source lang="cpp">
+
<syntaxhighlight lang="cpp">
  
 
int main(void){
 
int main(void){
Line 13: Line 13:
 
}
 
}
  
</source>
+
</syntaxhighlight>
  
  
Example of [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi Extension:SyntaxHighlight_GeSHi] (Not Installed Yet)
+
----
 +
 
 +
Example of [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi Extension:SyntaxHighlight_GeSHi] (<s>Not Installed Yet</s> It is installed now, 2010 Jun 11)
  
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
Line 25: Line 27:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
----
 +
 +
Test of [http://softwaremaniacs.org/soft/highlight/en/download/ Highlight.js] (Not Installed Yet)
 +
<pre>
 +
<code>
 +
int main(void){
 +
  for(i=0;i<10;i++){
 +
      cout<<"TESTING";
 +
  }
 +
}
 +
</code>
 +
</pre>

Latest revision as of 12:51, 11 June 2010

Test Page

int main(void){

   for(i=0;i<10;i++){

      cout<<"TESTING";

   }

}



Example of Extension:SyntaxHighlight_GeSHi (Not Installed Yet It is installed now, 2010 Jun 11)

int main(void){
   for(i=0;i<10;i++){
      cout<<"TESTING";
   }
}

Test of Highlight.js (Not Installed Yet)

<code>
int main(void){
   for(i=0;i<10;i++){
      cout<<"TESTING";
   }
}
</code>