tof - speced/respec GitHub Wiki

<section id="tof">

Automatically generates a Table of Figures — a list of all <figure> elements in the document, linked to each figure by its <figcaption>.

Usage

<section id="tof">
  <!-- ReSpec generates the list of figures here -->
</section>

Notes

  • All <figure> elements with a <figcaption> are included — ReSpec auto-generates IDs from the caption text if no id is set
  • ReSpec auto-generates a "Table of Figures" heading if none is provided
  • Typically placed as an appendix: <section id="tof" class="appendix">
  • Also see the auto-numbering of figures — empty <a href="#figure-id"> links auto-fill with "Figure N"
⚠️ **GitHub.com Fallback** ⚠️