Skip to content

Conversation

@AlabasterAxe
Copy link

@AlabasterAxe AlabasterAxe commented Sep 20, 2025

Summary

  • Add comprehensive endnotes implementation with EndnoteReferenceRun component
  • Create Endnotes class and EndnotesWrapper for document integration
  • Add endnote attributes, reference runs, and separator components
  • Update documentation to cover both footnotes and endnotes usage
  • Include demo file demonstrating endnotes functionality with multiple sections
  • Integrate endnotes into compiler pipeline and content types
  • Add comprehensive test coverage for endnote components

Key Features

  • EndnoteReferenceRun: Component for adding endnote references in paragraphs
  • Endnotes class: Manages endnote content and formatting
  • Documentation updates: Extended footnotes.md to cover endnotes usage
  • Demo implementation: Complete working example in demo/97-endnotes.ts
  • Test coverage: Comprehensive unit tests for all endnote components

Differences from Footnotes

  • Endnotes appear at the end of the document, unlike footnotes which appear at the bottom of each page
  • Ideal for academic papers, research documents, and lengthy citations
  • References automatically appear as superscript in the document

Test plan

  • All existing tests pass
  • New endnote tests pass
  • Demo file generates valid DOCX with endnotes
  • Documentation updated with usage examples
  • Code follows project formatting and linting standards

Fixes #359

- Add comprehensive endnotes implementation with EndnoteReferenceRun component - Create Endnotes class and EndnotesWrapper for document integration - Add endnote attributes, reference runs, and separator components - Update documentation to cover both footnotes and endnotes usage - Include demo file demonstrating endnotes functionality with multiple sections - Integrate endnotes into compiler pipeline and content types - Add comprehensive test coverage for endnote components Endnotes appear at the end of the document, unlike footnotes which appear at the bottom of each page, making them ideal for academic papers and formal documents. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
@AlabasterAxe
Copy link
Author

@dolanmiu FYI

@dolanmiu
Copy link
Owner

dolanmiu commented Nov 5, 2025

Thanks @AlabasterAxe

Looks good to me

Edit: Failing tests if you don't mind fixing, and then it can be merged.

@dolanmiu dolanmiu enabled auto-merge (squash) November 5, 2025 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants