Template tests / tests (push) Successful in 1m44s
Previously the "Contents" page just emitted a TOC field whose cached result was the literal text "Update contents in Word" - so unless a user manually ran Update Field in Word, the TOC showed nothing useful (and many viewers never run that update at all). Now each step heading is wrapped in a bookmark, and the TOC is built as real TOC1/2/3-styled paragraphs with hyperlinks to those bookmarks and PAGEREF fields for page numbers, matching the entry list other exporters already produce via tocEntries(). The whole thing stays wrapped in the original `TOC \o "1-3" \h \z \u` field so Word can still refresh page numbers, but the document is correct on first open even without that step. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>