Difference between revisions of "Syntax Highlight"
From MS Computech
(Created page with 'http://www.lastengine.com/syntax-highlighter-code-colorizer-mediawiki/ <pre class="brush:php">Your PHP Code Here</pre> <pre class="brush: php; highlight: [5, 15]; html-script: t…') |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
http://www.lastengine.com/syntax-highlighter-code-colorizer-mediawiki/ | http://www.lastengine.com/syntax-highlighter-code-colorizer-mediawiki/ | ||
| − | <pre class="brush: | + | http://www.mediawiki.org/wiki/Extension:SyntaxHighlighterAndCodeColorizer |
| − | <pre class="brush: | + | <pre class="brush:csharp">// Hello World in Microsoft C# ("C-Sharp"). |
| + | |||
| + | using System; | ||
| + | |||
| + | class HelloWorld | ||
| + | { | ||
| + | public static int Main(String[] args) | ||
| + | { | ||
| + | Console.WriteLine("Hello, World!"); | ||
| + | return 0; | ||
| + | } | ||
| + | } | ||
| + | </pre> | ||
| + | <pre class="brush:csharp; highlight: [5,6]; html-script: true">// Hello World in Microsoft C# ("C-Sharp"). | ||
| + | |||
| + | using System; | ||
| + | |||
| + | class HelloWorld | ||
| + | { | ||
| + | public static int Main(String[] args) | ||
| + | { | ||
| + | Console.WriteLine("Hello, World!"); | ||
| + | return 0; | ||
| + | } | ||
| + | } | ||
| + | </pre> | ||
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi | http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi | ||
| − | <source lang=" | + | <source lang="csharp" line start="0" highlight="5">// Hello World in Microsoft C# ("C-Sharp"). |
| + | |||
| + | using System; | ||
| + | |||
| + | class HelloWorld | ||
| + | { | ||
| + | public static int Main(String[] args) | ||
| + | { | ||
| + | Console.WriteLine("Hello, World!"); | ||
| + | return 0; | ||
| + | } | ||
| + | } | ||
| + | </source> | ||
Latest revision as of 15:59, 28 June 2009
http://www.lastengine.com/syntax-highlighter-code-colorizer-mediawiki/ http://www.mediawiki.org/wiki/Extension:SyntaxHighlighterAndCodeColorizer
// Hello World in Microsoft C# ("C-Sharp").
using System;
class HelloWorld
{
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
}
// Hello World in Microsoft C# ("C-Sharp").
using System;
class HelloWorld
{
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
}
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi <source lang="csharp" line start="0" highlight="5">// Hello World in Microsoft C# ("C-Sharp").
using System;
class HelloWorld {
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
} </source>