mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
docs: 在README中添加规范化图片文件名功能说明
添加了关于`pnpm del-space`命令的文档说明,该功能用于规范化Markdown中的图片文件名以提高多平台兼容性
This commit is contained in:
@@ -80,6 +80,14 @@ pnpm new-post helloword
|
|||||||
pnpm clean
|
pnpm clean
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 规范化图片文件名
|
||||||
|
|
||||||
|
扫描 Markdown 文件中的图片引用,将文件名中的空格、逗号、多余的点等特殊字符移除,并同步更新文件引用。这有助于提高多构建平台的兼容性(某些平台不支持特殊字符文件名)。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm del-space
|
||||||
|
```
|
||||||
|
|
||||||
### 配置博客
|
### 配置博客
|
||||||
|
|
||||||
编辑 `src/config.ts` 文件来自定义博客配置:
|
编辑 `src/config.ts` 文件来自定义博客配置:
|
||||||
|
|||||||
Reference in New Issue
Block a user