A dynamic table of contents macro that also works on mobile.

This macro creates a Table of Contents from the headings on the current page and displays them as links in a list. Works across any screen or device.

If using:

  1. Replace me with something to note about this concept that falls outside the scope of the Definition section; and
  2. Add the tight-bottom class to the Definition block above to narrow the gap between the two blocks.