Repository navigation
fix(docx): 修复 docx 导出 8 项缺陷(图片空白/编号独立/单倍行距/表格排版/callout 去标识) - #10
Merged
Merged
Conversation
- 图片关系 Target 相对 word/(media/img-1.png),修复位图空白占位 - 每个有序列表分配独立 numId(numbering.xml 动态 num 实例),自定义起始号经 lvlOverride - docDefaults 行距 line=360→240(单倍) - 软换行 \n 并入空格(与 HTML 语义一致),硬换行 break 保留 w:br - 表格 tblW=9026 dxa + tblLayout fixed 满宽,tblCellMar 内边距 + vAlign center - callout 识别(含同行标题)去标识、按类型背景色、标题加粗 - 代码块 [lang] 语言标注不再输出(保留 CodeBlock 背景色) - 回归测试 + Wave 1.2/2.1 断言按新行为更新 fixes #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Impact
修复 docx 导出(render --format docx / mdpkg-web toDocx)8 项缺陷(issue #9):
涉及文件:packages/mdpkg/src/docx.ts、test/docx.test.ts、web/mdpkg-web.js、web/mdpkg-web.iife.js
Verification
Risk
low — 单一模块(docx 导出),改动集中于 docx.ts + 回归测试,bundle 由构建生成
Closes #9