If you look here: http://en.wikipedia.org/wiki/Stack_Overflow
You\'ll notice there\'s a little \"Content\" section, if you click on one of the links, it will send you to
You can choose the Edit mode "MediaWiki" which will generate a toc for the headers, e.g.
== First == == Second ==