wagtail / guide

A website to teach Wagtail CMS to content editors, moderators and administrators.
https://guide.wagtail.org
BSD 3-Clause "New" or "Revised" License
32 stars 26 forks source link

Reflect heading hierarchy in ToC #377

Open thibaudcolas opened 1 year ago

thibaudcolas commented 1 year ago

Our guide pages Have a table of contents at the top which is very helpful:

toc-guide

In this example, "Site-specific improvements" is an h2, and the two headings after are h3. It would be nice if this hierarchy was reflected in the TOC – for example with some amount of indentation to show the two headings are "within" the "Site-specific improvements".

ArafatAbdussalam commented 1 year ago

Hi @thibaudcolas Do you mind if I work on this issue?