I've got some html code from another system I have to render.
The html code has a certain structure which tocify can apparently not correctly analyse. Only the first heading is rendered in the toc. In the case I want tocify h1,h2,h3 I only see "Section 1 - H1" in the toc.
The problem seems to be that the headings are inside of a-tags.
Unfortunately, I'm not sure of a good workaround at the moment. Tocify expects other headers (that are associated with it) to be siblings or children. See #36
I've got some html code from another system I have to render.
The html code has a certain structure which tocify can apparently not correctly analyse. Only the first heading is rendered in the toc. In the case I want tocify h1,h2,h3 I only see "Section 1 - H1" in the toc. The problem seems to be that the headings are inside of a-tags.
If I put the a-tags inside the headings everything's fine. But changing the html is out of my scope :-(
Is there a fix or workaround for this issue?
Thanks!