refactor(baoyu-translate): replace remark/unified with markdown-it for chunk parsing

Simplifies dependencies and adds main.ts CLI entry point with exported
functions for programmatic reuse.
This commit is contained in:
Jim Liu 宝玉
2026-03-13 15:27:25 -05:00
parent 6f38724163
commit 7e07c1bb84
5 changed files with 391 additions and 274 deletions
+4 -6
View File
@@ -1,9 +1,7 @@
{
"name": "baoyu-translate-chunk",
"private": true,
"dependencies": {
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"unified": "^11.0.5"
"markdown-it": "14.1.1"
}
}
}