markdown is plain text. Plain text does not support toc.
What pandoc does (or can do) is generate a toc based on markdown header tags. The output file can be html, epub or any other thing.
Markor is a great tool for writting and preview markdown, but probably is not what you need.
|