markdown-toc
markdown-toc copied to clipboard
Title document and generate a Markdown-Toc (package)
Hi,
I have a document, and one general title at top of document. Then, I have a sections:
# TITLE DOC
# Index
(the index generated using “Insert or update md-toc”)
…
# Chapter …
…
When I generate the TOC, then my index is:
TITLE DOC
Index
Chapter …
The TOC is generating a link for the document title, howto prevent to no generate this entry TITLE DOC? Or howto write in a md file a document title using other form to no detected by this plugin as a chapter?
Can the index of titles process all headings from the place where this index is written to end of document?
Regards
I for one only use #
for the document title and skip that section using the depthFrom:2
option for the table of contents.
Document
# TITLE DOC
## Index
(the index generated using “Insert or update md-toc”)
…
## Chapter …
…
TOC
<!-- TOC depthFrom:2 depthTo:6 withLinks:0 updateOnSave:1 orderedList:0 -->
- Index
- Chapter …
<!-- /TOC -->
Related to #60. See this workaround.