Files
NetNewsWire/Shared
Dave MarquardandClaude Opus 4.8 f28d204c12 Support Substack-style footnotes in the article popover
Substack footnote references are bare <a id="footnote-anchor-N"
href="#footnote-N"> anchors (not wrapped in <sup> like Multimarkdown),
and their targets are backlink anchors whose note text lives in the
following sibling elements rather than inside the target itself. Neither
the footnote badge styling nor the newsfoot popover recognized them.

- main.js: broaden styleLocalFootnotes() to also badge these bare
  anchors, and let isLocalFootnote() accept the "#footnote-" hash prefix
  (it previously only matched "#fn").
- newsfoot.js: add a Substack footnote format that recognizes the
  reference and extracts note content from the sibling elements after
  the backlink; the click handler now uses each format's own content
  extractor instead of assuming the target's innerHTML.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-24 12:26:53 -07:00
..
2026-07-08 10:00:34 -07:00
2025-12-30 22:20:22 -08:00
2026-08-02 17:04:08 -07:00