="http://www.w3.org/2000/svg" viewBox="0 0 512 512">

22 Table of Contents: Adding a Second Level

Pressbooks supports adding one sub-level to your Table of Contents. This chapter will show you how to make it work.

It’s easy!

  1. Go to Appearance –> Theme Options
  2. Select “Enable a two-level TOC”
  3. Now, in your content, headings tagged with <h1> tags should be parsed into a (linked) subsection in your TOC.

Finally, not all Themes have been tested with this feature — if things look funny, please test another theme.


Creative Commons License
Table of Contents: Adding a Second Level by Book Oven Inc. (PressBooks.com) is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.