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

From ThePlaz.com

Jump to: navigation, search
(fix lang)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==Pre==
 
==Pre==
<pre><pre></pre></pre>
+
*Will move code to new line
 +
<pre>
 +
&lt;pre&gt;123&lt;/pre&gt;
 +
</pre>
  
 
==Code==
 
==Code==
<code><code></code></code>
+
<code>
 +
&lt;code&gt;123&lt;/code&gt;
 +
</code>
  
 
==Source==
 
==Source==
 
*http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
 
*http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
<source lang="html4strict"><source lang="html4strict"></source></source>
+
<source lang="html4strict" strict="true">
 +
<source lang="html4strict">
 +
123
 +
</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)