Session Ready
Exercise

Adding table of contents options

When toc_float is included, the table of contents appears on the left side of the document and remains visible while the reader scrolls through the document. By default, it displays the largest header, will expand as someone is reading through the report or interacting with the table of contents to navigate to another section, and animates page scrolls when navigating the report.

In this exercise, you'll add toc_float and modify these settings using the collapsed and smooth_scroll fields so that the full table of contents remains visible and page scrolls are not animated.

Instructions
100 XP
  • Below the toc field, add toc_float and a colon at the end of the field.
  • On a new line, add another indentation and the collapsed field, so that the full table of contents remains visible throughout the report.
  • Add another line and add the smooth_scroll field so that page scrolls are not animated.