@v1hz/md2docx 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -96,21 +96,11 @@ md2docx docs/example.md --figureCaption.enabled false
96
96
 
97
97
  ## 样式定制
98
98
 
99
- `style/style.json` 定义了 docx 输出的全部样式,包括字体、字号、颜色、缩进、间距等。
100
-
101
- ### 从模板 docx 提取样式
102
-
103
- 如果你有一个排版精美的 docx 模板,可以提取其样式:
104
-
105
- ```bash
106
- bun run src/style/extract.ts
107
- ```
108
-
109
- 提取后修改 `style/style.json`,转换时会自动使用这些样式生成输出文档。
99
+ `config/style.json` 定义了 docx 输出的全部样式,包括字体、字号、颜色、缩进、间距等。
110
100
 
111
101
  ### 手动维护样式
112
102
 
113
- 也可直接编辑 `style/style.json`。支持以下样式配置:
103
+ 可直接编辑 `style/style.json`。支持以下样式配置:
114
104
 
115
105
  - **文档默认样式**(`default.document`):全局字体、字号、段落间距
116
106
  - **内置样式覆盖**(`default.heading1` … `default.heading6`、`default.title` 等)