DiscoTOC - automatic table of contents

Can someone please explain how you put an id attribute on a heading? I tried the method here: Extended Syntax | Markdown Guide putting {#custom-id} at the end of a heading line. I also just used html h1 tags and added an id. None of that worked.

Is the documentation no longer correct? If it is possible to add my own ids, that would fix the issue I’m having over here assuming those ids worked through the various situations of anchor tags.

2 Likes