Use Markdown All in One
This plugin supports generation of a table of contents (TOC) for Markdown files.
You can omit element from the toc by using the following comment before the element you want to omit. This is useful for omitting the table of contents from the table of contents.
<!-- omit from toc -->