DiscoTOC - automatic table of contents

I can confirm this problem on your site and my site too, with my iOS device.

1 Like

I am correct that this only works for one topic at a time? If so, any chance that it can be extended to include all topics in a category?

DiscoTOC works for me on both sites, using Safari on iOS 12.4, cc @debryc & @tobiaseigen


1 Like

Interesting - I just checked again and am still seeing the same problem on my iphone. So we need to identify what distinguishes our iOS devices. :slight_smile: I am on iOS 12.2, iPhone 7 plus, using chrome version 74.0.3729.155. I just checked safari and see it works on safari on the same device.

1 Like

I’m on iPhone 6s, iOS 12.3.1.
I tried this on Safari and it worked!
I tried this on the Chrome app and it’s not working there.


The TOC in the link above works for me on Chrome iOS, I’m on 12.4 (but doubt that matters). Do you have any specific plugins/content blockers set up on your phone’s Chrome app?

I do not believe I have any specific plugins/content blockers on my phone’s Chrome app (not sure how to add any, actually!) How do I double-check?

I also completely re-installed my Chrome app and still no luck. I also tried it on the Google app and that didn’t work, either.

I have a problem here: Supported storage backends - How-to - Duplicacy Forum

The ### Snapshot Pruning header is missing from the TOC. Also (on a second look) it seems ### S3 and Billing is missing as well (just above #### Short Version).

1 Like

[bug report]

And a few more problems on https://forum.duplicacy.com/t/backup-command-details/1077#example.

  1. Scrolling a topic does not expand the TOC straight away, it can be seen when starting to scroll over Options and TOC is not expanded

  2. If there are multiple headings with the same name, selecting a link takes me to the wrong heading, since the headings aren’t unique. (see all the ##### Example headings at my link above.
    (if you click example under -dry run you are still taken to the first example heading).

    • Could the generated IDs have something like #previous_heading_Current_Heading or #current_heading-[insert new number here] ? I think this should fix it


Hey, I think this plugin is really great, but can I give an opinion?
The directory is now shrinking by default, but I want the directory to expand by default. Can you improve this feature? thank you very much

[bug report]

The TOC should not show the number of clicks if the header is a link.
It happens: Scripts and utilities index - How-to - Duplicacy Forum

I don’t know what i’m doing wrong but it seems that the anchors generated by DiscoTOC no longer take me to the specific (sub-) heading, but are stripped and i’m taken to the top of the page when accessed from my own forum.

Here’s a sample link: https://forum.duplicacy.com/t/scripts-and-utilities-index/1104#duplicacy-utils-contributed-by-thebestpessimist. which works when clicked from here (meta).

The same link does not work from our forum: Does this DiscoTOC link work? - Site Feedback - Duplicacy Forum

Could someone please point me to what is going on here?

Update: After further testing it seems that (on my forum) the anchor is saved if i open a new tab (eg. middle-click on link), but not if i left click.

I think this is less a “bug” and more a “known issue”. You’re expecting alot from this theme component if you want to include markdown hyperlinks and @ mentions in headings that then become links in the automatically generated table of contents.

It would be pretty amazing if DiscoTOC could parse out the markdown within headings, but I have accepted that it does not and have worked around it. I do not put any markdown on headings in topics with a table of contents.