* chore(gitignore): build folder
* chore(demo): passing demo number as argument will run that demo
* feat(table-of-contents): cached data
* chore(table-of-contents): clean up
This commit can be squashed with the previous one if necessary
* test(table-of-contents): cached entries
* docs(table-of-contents): added cached entries section
* Improve coverage
* Fix tests
* feat(table-of-contents): use style with levels in cached entries
---------
Co-authored-by: Dolan Miu <>
* Added the table look parameter to new Table class to enable controlling various conditional formatting table properties (first row, first column etc)
* Improve documentation
---------
Co-authored-by: Dolan <dolan_miu@hotmail.com>
* feat(footnotes): Support lists and images in footnotes
* fix numbering in headers/footers
* Fix tests and add documentation
---------
Co-authored-by: Dolan <dolan_miu@hotmail.com>
* feat: add endnotes support to docx library
- 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>
# Conflicts:
# src/export/packer/next-compiler.ts
# src/file/paragraph/run/empty-children.ts
# src/file/styles/style/default-styles.ts
* Fix tests
* Add documentation
* Add and fix test
---------
Co-authored-by: matt <matthew.ed.keller@gmail.com>
* docs(numbering): add docs for `instance` option and update full example
- Documented `numbering.instance` for ordered lists
- Explains continuation vs restart behavior
- Added example usage with multiple instances
- Updated full example to reflect latest numbering behavior
resolves 3037, fixes 3037
* clean up lock file
* fix numbering reference
* Remove example update
* fix: separate vertical alignment enums for table and section properties
- Introduced `VerticalAlignTable` for table-cell vertical alignment with valid values: `top`, `center`, and `bottom`.
- Added `VerticalAlignSection` for section properties, extending `VerticalAlignTable` with an additional value `both`.
- Marked the original `VerticalAlign` as deprecated for backward compatibility, directing users to the new enums.
- Updated type definitions for better clarity on valid vertical alignments.
* refactor: update vertical alignment imports and types for section and table properties
- Renamed `VerticalAlign` to `VerticalAlignSection` in section properties and `VerticalAlignTable` in table-cell properties for clarity.
- Updated type definitions to reflect the new enum names, ensuring better organization and understanding of vertical alignment options.
- Adjusted related test cases to utilize the new imports and types.
* refactor: update demos to use new enums for table and section properties for vertical alignment