documents.js@4.2.0
·
647 commits
to main
since this release
4.2.0 (2026-08-21)
Bug Fixes
- edit: write headingLevel into docx as w:outlineLvl (19a0424)
- layout: inferred headings carry headingLevel alongside the Heading styleId (9916173)
- layout: omit absent bold/italic run keys instead of writing explicit undefined (2580f12)
Features
- layout: infer heading levels from font size in wordprocessing reconstruction (f28f198)
- layout: split reconstructed paragraphs at font-size discontinuities (e43a443)
- markdown: emit an HTML comment marker for pageBreak blocks in markdown output (ce5a9d2)
- markdown: read a page-break marker back as a pageBreak block (432baa7)
Dependencies
- Updated pdf-codec to ^3.1.2