Skip to content

✏️ Generate Id. and supra notes for repeated citations - #57

Open
JFWooten4 wants to merge 1 commit into
mainfrom
cherry-spices
Open

JFWooten4 wants to merge 1 commit into
mainfrom
cherry-spices

Conversation

@JFWooten4

Copy link
Copy Markdown
Member

Summary

Allow repeated Markdown footnote IDs to produce separate sequential footnotes without duplicating source definitions or hardcoding note numbers.

  • Preserve the current reuse behavior by default, with optional full-citation and automatic short-citation modes in Sections & TOC and the CLI (--repeated-footnotes).
  • In automatic mode, emit Id. for consecutive references to the same defined key, and See supra note followed by the linked number of the original full citation otherwise. Keep the word “note” and the number upright.
  • Expand citations in the renderer's working copy, leaving the original Markdown, inline code, fenced code, and quote-local citations unchanged. Reuse the existing {key} interpolation for dynamic links and existing PDF footnote/endnote placement.
  • Document the feature and add regression coverage for numbering, markup, full citations, literal code, local quotation notes, and PDF output.

Validation

The changed branch and nonempty commit tree were verified through GitHub. Regression tests were added but have not been executed in this environment; CI should verify them before merge. Word exports retain their existing behavior.

Write PR descriptions automatically.

Add an opt-in repeated-footnote mode with dynamic links, preserve source Markdown and quotation-local notes, and expose the option in the CLI and configurator with regression coverage.

Co-authored-by: ChatGPT 6.2 <[email protected]>
@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pdf Ready Ready Preview Nov 27, 2026 7:51pm UTC

This branch was successfully deployed

1 active deployment
Preview — 007fff4b Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant