mirror of https://github.com/garrytan/gstack.git
Paged.js is not vendored in gstack, so the `target-counter` that would fill `.toc-page` never resolves (browse/src/meta-commands.ts:545 documents this: "make-pdf v1 ships without Paged.js; TOC renders without page numbers"). Chrome has no native target-counter, so the spans stay empty and the dot leaders run from each title into blank space, which reads as a broken document. screenCss() already hides both for HTML output. Do the same for print until page numbers actually exist, and leave a comment to restore the two rules if Paged.js ever lands. Also give H3 its own `level-3` class. buildTocBlock mapped every heading >= H2 to `level-2`, so sub-sections sat at the same indent as numbered sections and read as top-level peers. 189/189 make-pdf tests pass. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||