refactor(baoyu-format-markdown): use remark-cjk-friendly for CJK emphasis

Replace custom CJK emphasis handling with remark-cjk-friendly library,
significantly simplifying the codebase.
This commit is contained in:
Jim Liu 宝玉
2026-02-01 02:13:58 -06:00
parent c0162bb3af
commit 3a5866eb4b
5 changed files with 1137 additions and 371 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ Scripts in `scripts/` subdirectory. Replace `${SKILL_DIR}` with this SKILL.md's
| Script | Purpose |
|--------|---------|
| `scripts/main.ts` | Main entry point with CLI options |
| `scripts/cjk-emphasis.ts` | Fix CJK emphasis/bold punctuation issues |
| `scripts/main.ts` | Main entry point with CLI options (uses remark-cjk-friendly for CJK emphasis) |
| `scripts/quotes.ts` | Replace ASCII quotes with fullwidth quotes |
| `scripts/autocorrect.ts` | Add CJK/English spacing via autocorrect |