Table of contentをすべて展開

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

また、「すべて展開」オプションがすぐに開発されることを高く評価します。

「いいね!」 1

動的に展開される目次も気に入っていますが、長いWikiでは完全に展開された目次を表示するオプションがあると非常に便利であることにも同意します。

「いいね!」 5

汚いハックですが、お教えします。

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

これを https://www.your-domain.com/admin/customize/themes/ のテーマのカスタムCSSにコピー&ペーストしてください。

「いいね!」 7

見事に機能します :fist_left:

「いいね!」 2

これは、(より多くの) CSSに頼る必要をなくすための良い追加になるでしょう。

「いいね!」 1