doc: markdown: added a "table of contents" seciton and lots of "Back to TOC" links.