7
votes
Table of contents - markdown
I generated markdown with a table of contents which is auto-generated on Emacs. I tested it on https://rentry.co and it works fine. On Tildes the links don't work. Is there a way to make this work? It would be nice to have that for longer posts. Thanks!
Looking at the rendered HTML, the heading tags don't have an anchor id (link target) on them.
A short test just now suggests that these are filtered out, even if you manually add an HTML tag with one, so it seems there's nothing we can do about it.
There's a previous request for TOCs and a related issue in GitLab.
That issue appears to be related to the wiki subsystem, so a new issue may be needed for standard posts (while not a particularly used feature, I think this could be a good feature to at least have).
Added to Gitlab:
Add Table of Contents support, using HTML anchors, to Text Topics
cc: @alf
Awesome!