vue-markdown
vue-markdown copied to clipboard
TOC: Do not manually compute TOC depth
It does not matter what I define the last level to be, the package appears to overwrite what I define if it is not 1 greater than toc-first-level.
Example:
<vue-markdown
:toc="true"
:toc-first-level="2"
:toc-last-level="2"
/>
I want to ONLY SHOW Headline 2 in my Table of Contents. Unfortunately, it will always show Headline 2 and Headline 3. It is not possible for me to get around this with the current iteration of this package.
The package should not override the depth that I have dictated for the Table of Contents.