The viewer shows whats called a "metadata" table of contents. That is a separate table of contents not part of the document. Mardown doesnt have such a concept. You can do a conversion in calibre to epub and then view the epub. The conversion will auto generate the toc from headings or whatever you configure.
|