All the examples seem to show the context option set to body but I need mine set to a div with a specific id. Is this possible? If so, whats the syntax for that? What are other options besides body? For some reason my ToC only shows the first h1 in the body and I need it to show the h2, h3, and h4's in a specific div with an id. I tried using the option to specify h2-h4 and ignore h1 but that didn't help. I tried setting the context option to context: "#article" and also tried context: "div#article" but that didn't work either.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
All the examples seem to show the context option set to
bodybut I need mine set to a div with a specificid. Is this possible? If so, whats the syntax for that? What are other options besidesbody? For some reason my ToC only shows the firsth1in thebodyand I need it to show theh2, h3, and h4'sin a specificdivwith anid. I tried using the option to specifyh2-h4and ignoreh1but that didn't help. I tried setting the context option tocontext: "#article"and also triedcontext: "div#article"but that didn't work either.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.