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

From ThePlaz.com

Jump to: navigation, search
(line breaks)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
==Pre==
 
==Pre==
 +
*Will move code to new line
 
<pre>
 
<pre>
<pre></pre>
+
&lt;pre&gt;123&lt;/pre&gt;
 
</pre>
 
</pre>
  
 
==Code==
 
==Code==
 
<code>
 
<code>
<code></code>
+
&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">
<source lang="html4strict"></source>
+
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)