wechat-media-writer 2.2.11 → 2.2.12
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/SKILL.md +12 -8
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -145,7 +145,7 @@ Token 缓存在 `~/.wechat/token_cache.json`(自动管理,2小时有效期
|
|
|
145
145
|
|
|
146
146
|
<!-- 章节(无数字编号,直接标题) -->
|
|
147
147
|
<p style="font-size:18px;font-weight:bold;color:{T};text-align:center;margin:0 0 16px;line-height:1em;">
|
|
148
|
-
<span
|
|
148
|
+
<span>先搞懂写书的这个人</span>
|
|
149
149
|
</p>
|
|
150
150
|
<p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;text-indent:2em;">
|
|
151
151
|
<span>正文段落。所有段落必须有 text-indent:2em。</span>
|
|
@@ -185,7 +185,7 @@ Token 缓存在 `~/.wechat/token_cache.json`(自动管理,2小时有效期
|
|
|
185
185
|
3. **`<img>` 必须包裹在 `<p>` 中**,且 `style="width:100%;display:block;border-radius:4px;"`
|
|
186
186
|
4. **行高统一 `line-height:2`** — 阅读舒适
|
|
187
187
|
5. **引用块用 `<p>` + `background` + `border-radius:8px`** — 圆角浅背景卡片样式,不要左侧竖条
|
|
188
|
-
6. **章节标题不使用数字编号** — 直接用"
|
|
188
|
+
6. **章节标题不使用数字编号** — 直接用"先搞懂写书的这个人",不用"壹"
|
|
189
189
|
7. **强调文字用 `<strong style="color:{T};">`** — 不是加粗或改色
|
|
190
190
|
8. **重点语句/概念高亮**:用 `<strong style="color:{T};background:{CBG};padding:1px 6px;border-radius:3px;">` 或 `<span style="color:{T2};font-weight:bold;">` — 让主题色贯穿全文
|
|
191
191
|
9. **星标用 `<span>★★★★☆</span>`** — `font-size:28px;color:{T2}`
|
|
@@ -344,7 +344,7 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
|
|
|
344
344
|
| 星级评分 | 400-500 |
|
|
345
345
|
| **总计** | **4000-6000** |
|
|
346
346
|
|
|
347
|
-
##
|
|
347
|
+
## 值不值得花时间读排版规范
|
|
348
348
|
|
|
349
349
|
星级评分部分必须按照以下格式排版,**不使用壹贰叁编号**:
|
|
350
350
|
|
|
@@ -352,15 +352,16 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
|
|
|
352
352
|
<p style="font-size:14px;color:#ccc;text-align:center;letter-spacing:8px;margin:20px 0;">· · · · · ·</p>
|
|
353
353
|
|
|
354
354
|
<p style="font-size:18px;font-weight:bold;color:{T};text-align:center;margin:0 0 16px;line-height:1em;">
|
|
355
|
-
<span
|
|
355
|
+
<span>值不值得花时间读</span>
|
|
356
356
|
</p>
|
|
357
357
|
|
|
358
|
+
<!-- 星级评分(支持 0.1 精度:用透明度表达小数部分,0.3 倍 = 0.7 星) -->
|
|
358
359
|
<p style="font-size:28px;text-align:center;margin:0 0 8px;">
|
|
359
|
-
<span style="color:{T2};"
|
|
360
|
+
<span style="color:{T2};">★</span><span style="color:{T2};">★</span><span style="color:{T2};">★</span><span style="color:{T2};">★</span><span style="color:{T2};opacity:0.3;">★</span>
|
|
360
361
|
</p>
|
|
361
362
|
|
|
362
363
|
<p style="font-size:16px;color:{BODY};text-align:center;margin:0 0 16px;">
|
|
363
|
-
<span>4 / 5 星</span>
|
|
364
|
+
<span>4.7 / 5 星</span>
|
|
364
365
|
</p>
|
|
365
366
|
|
|
366
367
|
<p style="font-size:16px;line-height:2;color:{BODY};margin:0 0 16px;text-indent:2em;">
|
|
@@ -394,10 +395,13 @@ python3 scripts/publish.py --title "标题" --content-file content.html --cover-
|
|
|
394
395
|
<p style="font-size:14px;color:{BODY};text-align:center;margin:0 0 4px;line-height:1.6;">
|
|
395
396
|
<span>作者 · 读书笔记</span>
|
|
396
397
|
</p>
|
|
397
|
-
<p style="font-size:14px;color:{T2};text-align:center;margin:0 0
|
|
398
|
+
<p style="font-size:14px;color:{T2};text-align:center;margin:0 0 24px;line-height:1.8;font-weight:bold;">
|
|
398
399
|
<span>「 一句话总结:核心洞察 」</span>
|
|
399
400
|
</p>
|
|
400
|
-
|
|
401
|
+
<p style="font-size:13px;color:#999;text-align:center;margin:16px 0 24px;letter-spacing:6px;font-weight:bold;">
|
|
402
|
+
<span>— · END · —</span>
|
|
403
|
+
</p>
|
|
404
|
+
<p style="margin:0;height:1px;line-height:1px;"> </p>
|
|
401
405
|
```
|
|
402
406
|
|
|
403
407
|
### 评分格式要求
|