Help:Editing: Difference between revisions

Help page
Line 214: Line 214:
If you want to use <tt><nowiki><code></nowiki></tt>, you should definitely use <tt>&lt;source&gt;</tt> instead! It supports Syntax Coloring. You can also specify a language, eg. <tt>&lt;source lang="c" line start="55" highlight="4" enclose="div"&gt;</tt> :
If you want to use <tt><nowiki><code></nowiki></tt>, you should definitely use <tt>&lt;source&gt;</tt> instead! It supports Syntax Coloring. You can also specify a language, eg. <tt>&lt;source lang="c" line start="55" highlight="4" enclose="div"&gt;</tt> :


<source lang="c" line start="55" highlight="4" enclose="div">
<source lang="c" line start="55" highlight="4"><!-- enclose="div"-->
// Global variable
// Global variable
int x = 7;
int x = 7;