Releases: AfishInLake/WordFormat
Releases · AfishInLake/WordFormat
Release list
v1.5.0
- 新增 `wordf md` 命令,将 Markdown 转换为格式化 .docx - 支持标题、表格、图片(含题注)、代码块、列表、引用块 - 图片自动插入、表格自动创建、题注编号自动生成 - 新增 wordformat.math 模块,LaTeX 公式转 Word 原生 OMML - 识别 $...$ 内联公式和 $$...$$ 块级公式 - 基于 latex2mathml → mathml2omml 纯 Python 管线 - __init__ 直接导出 auto_format_thesis_document、md_to_docx、set_tag_main - apply 模式只对修正失败的残留差异写批注 - 标点检测批注改为蓝色(提醒级别) - 清理文档中不存在的 wordformat[api] extra 引用 - NODE_TYPE 命名统一为 <类别>.<类型> - 配置格式改为 paragraph/font 分组,DotDict 自动 fallback - wordformat-skill 精简,移除自定义验证脚本
v1.4.0
v1.3.2
fix: 修正样式定义中的段落属性缺失——段前/段后间距、行距、首行缩进、左右缩进现在写入样式定义XML,不再显示为'自动' (#96) * fix: 修正样式定义中的段落属性缺失——段前/段后间距、行距、首行缩进、左右缩进现在写入样式定义XML,不再显示为'自动' * fix: 修正样式定义中的段落属性缺失——段前/段后间距、行距、首行缩进、左右缩进现在写入样式定义XML,不再显示为'自动' * fix:更新至1.3.2
v1.3.1
fix: 续表/续图题注被错误重新编号 parse_caption_text 无法识别"续"前缀导致被当作普通题注分配新编号,现已支持解析续表/续图并保留原标题注编号。
v1.3.0
fix: commit WordFormatUI source files and update .gitignore for CI The CI build-ui job uses actions/setup-node@v4 with cache: 'npm', which requires package-lock.json to compute the cache hash. This file was not committed, causing "Some specified paths were not resolved, unable to cache dependencies" error. Also added node_modules/ and .env to .gitignore to prevent accidental commits of dependencies and secrets. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
v1.2.2
v1.2.1
v1.1.3
release: v1.1.3 - fix: 修复摘要格式化不正确问题 - fix: 补充 numbering 白名单字段(suffix, numbering_indent, text_indent) - fix: 优化 skill 配置文件扫描逻辑,支持任意名称的 .yaml 文件 - feat: pip 安装自动检测国内用户并使用清华镜像源
v1.1.2
release: v1.1.2 New features: - wf tree: 查看文档结构树命令(支持 --filter/--index/--confidence) - top 节点直接关联的 body_text 不参与格式化 - validate_json.py 支持 other/heading_mulu 合法类别 - DIFFResult.__str__ 返回空字符串而非 None - BuiltInStyle._ensure_style_exists 自动创建缺失样式 - 测试覆盖率提升至 96%+(849 tests) Bug fixes: - 修复 heading_level_1 误标问题 - 修复 body_text 过滤逻辑 - 修复 Makefile 使用 .venv/bin/pytest