Topic: https://brettterpstra.com/2014/11/22/github-toc-service-0-dot-2-0/
hide preview

What's next? verify your email address for reply notifications!

kidpixo 10y, 115d ago

Nice,
I did something similar, but I want to have something integrated in nvalt.

I ended up with a small javascript fragment added to nvalt template.html that puts a TOC after the HTML is rendered.

When you insert a #TOC in a markdown document, you create an id="toc" in html, the script scan all the header in the document and put a TOC list there on the fly.

Cheers and thank for your inspiring work!!

hide preview

What's next? verify your email address for reply notifications!