Sandbox GeSHi

From TeamWeaverWiki

Revision as of 10:47, 26 March 2010 by ChristianRoehr (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<source> tag

#include <iostream>
 
int main()
{
   std::cout << "Hello, world!\n";
}

<syntaxhighlight> tag

This does not work, because we are using SyntaxHighlight_SeSHI r48711 (this was offered by mediawiki.org when choosing a proper version for MW 1.15.x), but "Before rev:50696, the <source> tag was used." instead of the <syntaxhighlight> tag.


<syntaxhighlight lang="cpp">

  1. include <iostream>

int main() {

  std::cout << "Hello, world!\n";

} </syntaxhighlight>