mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
feat(scripts): 添加删除图片路径空格的脚本
添加 del-space.js 脚本用于自动处理 Markdown 文件中包含空格的图片路径 重命名相关图片文件并更新引用路径,同时处理特殊字符和多余的点 在 package.json 中添加对应的运行命令
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
"type-check": "tsc --noEmit --isolatedDeclarations",
|
||||
"new-post": "node scripts/new-post.js",
|
||||
"clean": "node scripts/clean-unused-images.js",
|
||||
"del-space": "node scripts/del-space.js",
|
||||
"format": "biome format --write ./src",
|
||||
"lint": "biome check --write ./src"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user