Difference between revisions of "ThePlaz.com:Code Syntax"

From ThePlaz.com

Jump to: navigation, search
(convert to >)
 
Line 1: Line 1:
 
==Pre==
 
==Pre==
 +
*Will move code to new line
 
<pre>
 
<pre>
&gt;pre&lt;123&gt;/pre&lt;
+
&lt;pre&gt;123&lt;/pre&gt;
 
</pre>
 
</pre>
  
 
==Code==
 
==Code==
 
<code>
 
<code>
&gt;code&lt;123&gt;/code&lt;
+
&lt;code&gt;123&lt;/code&gt;
 
</code>
 
</code>
  
 
==Source==
 
==Source==
 
*http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
 
*http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
 +
<source lang="html4strict" strict="true">
 
<source lang="html4strict">
 
<source lang="html4strict">
&gt;source lang="html4strict"&lt;123&gt;/source&lt;
+
123
 
</source>
 
</source>
 +
</source>
 +
(Note this is not highlighting the bottom close source tag, I don't know how to trick it)

Latest revision as of 17:41, 24 July 2010

Pre

  • Will move code to new line
<pre>123</pre>

Code

<code>123</code>

Source

<source lang="html4strict">
123

</source> (Note this is not highlighting the bottom close source tag, I don't know how to trick it)