🎨 style(markdown): format all markdown files with prettier
- 使用 prettier 格式化所有 markdown 文件 - prose-wrap: always, print-width: 80 - 保持代码块和表格格式 - 提升可读性和一致性 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
---
|
||||
name: docx-workflow
|
||||
description: "DOCX workflow: create/edit Word docs with tracked changes, comments, formatting preservation, export to PDF. Triggers: docx workflow, Word修订, track changes, 红线, 批注, 改合同, 改报告."
|
||||
description:
|
||||
"DOCX workflow: create/edit Word docs with tracked changes, comments,
|
||||
formatting preservation, export to PDF. Triggers: docx workflow, Word修订,
|
||||
track changes, 红线, 批注, 改合同, 改报告."
|
||||
---
|
||||
|
||||
# DOCX Workflow(Word / 红线修订)
|
||||
@@ -21,7 +24,8 @@ description: "DOCX workflow: create/edit Word docs with tracked changes, comment
|
||||
|
||||
## Capability Decision(do first)
|
||||
|
||||
1. 优先使用项目/环境已有的 **高保真工具链**(例如项目脚本或 Office-native 转换工具)。
|
||||
1. 优先使用项目/环境已有的
|
||||
**高保真工具链**(例如项目脚本或 Office-native 转换工具)。
|
||||
2. 否则走开源 fallback(需确认可接受的保真度):
|
||||
- Python:`python-docx`(结构化编辑,但对复杂版式/修订支持有限)
|
||||
- 导出 PDF:`libreoffice --headless`(若已安装)
|
||||
|
||||
Reference in New Issue
Block a user