Anonymous user
Help:Syntax Highlighting: Difference between revisions
Updated
(Removed xfeeds tag) |
(Updated) |
||
Line 1:
This wiki supports syntax highlighting in code examples using the [http://sourceforge.net/projects/geshi/ GeSHi] project
At the moment, the wiki is in transition from old style to new style highlighting; old style highlighting will still be valid for some time.
Line 10 ⟶ 8:
<pre>
<
int main (int argc, char* argv[])
{
return 0;
}
</
</pre>
looks like
<
int main (int argc, char* argv[])
{
return 0;
}
</
A list of supported languages, and their corresponding PHP files for GeSHi, can be found here:
http://geshi.svn.sourceforge.net/viewvc/geshi/tags/RELEASE_1_0_7_22/geshi-1.0.X/src/geshi/ (change version number to match the one below).
Ideally, one should also use the
It's in principle possible to write additional PHP files for unsupported languages and include them. Please contact one of the administrators for details.
Line 56 ⟶ 54:
</c>
<lang list></lang>
|