If you look here: http://en.wikipedia.org/wiki/Stack_Overflow
You\'ll notice there\'s a little \"Content\" section, if you click on one of the links, it will send you to
Currently it's not possible to do that using markdown syntax (.md
). There is ongoing unofficial discussion about automatically generating table of contents TOC on rendered markdown files like README.md
which lists some of the ideas.
However there are some other workarounds such as:
Use AsciiDoc
instead as per suggestion from this comment. For example:
:toc: macro
:toc-title:
:toclevels: 99
# Title
toc::[]
## A
### A2
## B
### B2
Check the example at littlebits/react-popover (README.adoc).
Online Table Of Content Generator (raychenon/play-table-of-contents)