목차 전체 확장

Is there any way to make the entire TOC show up at once instead of dynamically hiding most of it? A full post outline can be useful for finding a section without knowing and clicking through its ancestry, or so you can just read all the section names as a way to skim a post.

4개의 좋아요

I would second this feature request. I can see that this might result in long TOCs, but at least one could add an “expand all” button or Link?

3개의 좋아요

I am wondering how the TOC plugin is intended to function as I am finding its behaviour sort of odd. I have attached an animated gif below showing my observed behaviour. Is this intentional?

tocissue

My personal thought/preference is that the TOC is just fully expanded from the start.

Thanks in advance!

4개의 좋아요

And I’d really appreciate it if the option “expand all” would be developed soon.

1개의 좋아요

While I do love the dynamically expanding ToC, I agree that it would be really nice to have the option to dipslay a fully expanded ToC for longer wikis!

5개의 좋아요

Let me give you a dirty hack:

.d-toc-sublevel {
	max-height: 500em !important;
    overflow: visible !important;
    opacity: 1 !important;
}

Copy-paste it into your themes custom CSS somewhere in

https://www.your-domain.com/admin/customize/themes/.

7개의 좋아요

Works like a charm :fist_left:

2개의 좋아요

This would be a good addition to avoid relying on (more) CSS.

1개의 좋아요