Disco TOC for replies

Update: The changes in this fork have been merged upstream, please use the official theme components instead

For anyone who wants to apply DiscoTOC in their replies, I did this part of the work in my own fork!
Now it can apply TOC to any post and it works fine, just like it does on the OP.
It seems that the official team doesn’t think it’s necessary to apply DiscoTOC in the replies, so I won’t open a pull request. But you can use my modified version!

https://github.com/Lhcfl/DiscoTOC-edited

4 Likes