I'm probably going to see if I can patch this in to my local copy but I though this might be a useful tool for others
I kind of have a standard format I use for my "blog entry" md files that I parse with parsedown / parsedown-extra
I put one and only one level 1 heading in my markdown file which is the title
optioally a level 2 and then a level 3 date
Then and only then does my main article start and what I want to do is have a TOC that ignores any headings that are encountered BEFORE the TOC is placed.. so effectively
# Title (only ever one level1 for all the doc)
## Optional Subtitle
### YYYY Mon DD
[toc]
intro text here yada yada
## sub heading 1
subcontent
### Sub-Sub heading 1 etc
bla bla
### sub-sub heading 2
## subheading 2
bla bla content here
At present [toc] pares out to
- Title
- optional subtitle
- date
- sub heading 1
- sub sub heading 1
- sub sub heading 2
- sub heading 2
I was hoping to kind of tell toc to not start looking for headings until after it sees toc
so it would make aTOC like this
- sub heading 1
- sub sub heading 1
- sub sub heading 2
- sub heading 2
Since I am sure not everyone would want this, I guess this would need a config option