Sandbox GeSHi

From TeamWeaverWiki

(Difference between revisions)
Jump to: navigation, search
ChristianRoehr (Talk | contribs)
(Created page with '== <nowiki><source></nowiki> tag == <source lang="cpp"> #include <iostream> int main() { std::cout << "Hello, world!\n"; } </source> == <nowiki><syntaxhighlight></nowiki>…')

Current revision as of 10:47, 26 March 2010

<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,811 times.