Expandir completamente la tabla de contenido

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 Me gusta

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 Me gusta

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 Me gusta

Y realmente agradecería que la opción “expandir todo” se desarrollara pronto.

1 me gusta

Si bien me encanta la tabla de contenido (ToC) que se expande dinámicamente, ¡estoy de acuerdo en que sería muy bueno tener la opción de mostrar una tabla de contenido completamente expandida para wikis más largas!

5 Me gusta

Te doy un truco sucio:

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

Pégalo en el CSS personalizado de tu tema en algún lugar de

https://www.tu-dominio.com/admin/customize/themes/.

7 Me gusta

Funciona a la perfección :fist_left:

2 Me gusta

Esto sería una buena adición para evitar depender de (más) CSS.

1 me gusta