I created a TOC manually recently for a FAQ on my discourse - it’s fairly time consuming to create but looks awesome!
http://community.namati.org/t/common-questions-about-using-the-network-platform/1467?u=tobiaseigen
This would have saved me some time if the TOC were generated automagically, but today I am not sure it’s really so important for a discussion platform, esp as long as wiki topics lack other essential wiki functionality anyway. Like @HAWK we’ve moved our wiki content elsewhere. But perhaps that’s a topic for another day.
All that said if this is developed I like this @Tom_Newsom idea for naming anchors and would love to see it implemented this way.