From 8ca22a45d2e11c08a305bd095cc1b73a52af3ce8 Mon Sep 17 00:00:00 2001 From: Levi Neuwirth Date: Wed, 10 Jun 2026 10:37:28 -0400 Subject: [PATCH] Sidenotes: emit the section.footnotes fallback the CSS expects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-