markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

Title document and generate a Markdown-Toc (package)

Open cesarjorgemartinez opened this issue 7 years ago • 2 comments

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

cesarjorgemartinez avatar Aug 01 '17 07:08 cesarjorgemartinez

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 -->

Akaizoku avatar Oct 30 '18 16:10 Akaizoku

Related to #60. See this workaround.

ponsfrilus avatar Apr 12 '19 23:04 ponsfrilus