Sandbox GeSHi

From TeamWeaverWiki

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>

This page was last modified on 26 March 2010, at 10:47. This page has been accessed 2,807 times.