View table of contents in Markdown files

You can preview the outline of the Markdown headings in the Structure tool window. To open it, select Window | Tool Windows | Structure from the main menu.

Click Navigate with Single click to navigate from the selected heading in the editor to the corresponding item in the Structure tool window.

Similarly, click Always select opened element to navigate from the selected item in the notebook structure to the corresponding Markdown cell.