The filter consumes every Pandoc Note, so the "standard Pandoc- generated section.footnotes" its doc claimed as the no-JS fallback never existed — below 1500px with JS disabled, footnote content was simply invisible (AUDIT §2.3). The filter now collects consumed notes and appends the section itself: letter labels, jump targets for the in-text refs (which now point at the visible fallback item), and doc-backlink returns. sidenotes.js pairs ref/note by element id and preventDefaults clicks, so behavior with JS is unchanged. Verified in output: per-page item count matches inline sidenote count; refs target #fn-<label>; backlinks target #snref-<label>. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Aftermatter.hs | ||
| Archive.hs | ||
| Code.hs | ||
| Dropcaps.hs | ||
| EmbedPdf.hs | ||
| Images.hs | ||
| Links.hs | ||
| Math.hs | ||
| Score.hs | ||
| Sidenotes.hs | ||
| Smallcaps.hs | ||
| SourceRefs.hs | ||
| Transclusion.hs | ||
| Typography.hs | ||
| Viz.hs | ||
| Wikilinks.hs | ||