You are viewing an old version of this page. Return to the latest version.
Adds customizable syntax highlighting functionality.
(Geshi-)Syntax-Highlight error
<?php
$v = "string"; // Beispielcode
?>
HTML-Text
<?
echo $v; // Ende des PHP-Codes
?>
// Hallo Welt in Microsoft C#.
using System;
class HelloWorld
{
public static int Main(String[] args)
{
Console.WriteLine("Hallo, Welt!");
return 0;
}
}
Adds customizable syntax highlighting functionality. ==Case study== [http://sourceforge.net/p/bluespice/bugs/294/ (Geshi-)Syntax-Highlight error] <source lang="php"> <?php $v = "string"; // Beispielcode ?> HTML-Text <? echo $v; // Ende des PHP-Codes ?> </source> [[<source lang="csharp"> // Hallo Welt in Microsoft C#. using System; class HelloWorld { public static int Main(String[] args) { Console.WriteLine("Hallo, Welt!"); return 0; } } </source> [[Category:BlueSpice_free]] [[Category:Extension]] [[en:{{FULLPAGENAME}}]][[de:SyntaxHighlight GeSHi]]
Line 13: | Line 13: | ||
echo $v; // Ende des PHP-Codes | echo $v; // Ende des PHP-Codes | ||
?> | ?> | ||
+ | </source> | ||
+ | |||
+ | <source lang="csharp"> | ||
+ | // Hallo Welt in Microsoft C#. | ||
+ | |||
+ | using System; | ||
+ | |||
+ | class HelloWorld | ||
+ | { | ||
+ | public static int Main(String[] args) | ||
+ | { | ||
+ | Console.WriteLine("Hallo, Welt!"); | ||
+ | return 0; | ||
+ | } | ||
+ | } | ||
</source> | </source> | ||