This option would be useful for constantly updated files with numerous duplicate headers. My books list (for intellectual gaming practice) — example of such a file.
3.1. Informativity
#NotRecommended-Geography is more informative, sensible id name, than #NotRecommended-1.
3.2. Permalinks
Currently: I share permalink with #NotRecommended-1 → I add another NotRecommended headers to KiraExampleTOC.md → #NotRecommended-1 now be #NotRecommended-2 or #NotRecommended-3 → the shared permalink will link to another header.
Expected: #NotRecommended-Geography will not change, if I add another NotRecommended headers to file. Permalink with #NotRecommended-Geography will be permanent.
1. Summary
It would be nice, if would be implemented an option: adding ids of parent headers for repeated ids instead of numbers (1, 2 and so on).
2. MCVE
2.1. Data
KiraExampleTOC.md
2.2. Steps to reproduce
I move carriage to the beginning of
KiraExampleTOC.md
→ Ctrl+Shift+P (⌘⇧p for Mac) →MarkdownTOC: InsertTOC
.2.3. Current behavior
2.4. Expected behavior
3. Argumentation
This option would be useful for constantly updated files with numerous duplicate headers. My books list (for intellectual gaming practice) — example of such a file.
3.1. Informativity
#NotRecommended-Geography
is more informative, sensible id name, than#NotRecommended-1
.3.2. Permalinks
#NotRecommended-1
→ I add anotherNotRecommended
headers toKiraExampleTOC.md
→#NotRecommended-1
now be#NotRecommended-2
or#NotRecommended-3
→ the shared permalink will link to another header.#NotRecommended-Geography
will not change, if I add anotherNotRecommended
headers to file. Permalink with#NotRecommended-Geography
will be permanent.Thanks.