doc: README添加图片使用方式

This commit is contained in:
RockChinQ
2024-06-29 17:59:51 +08:00
parent 415a28318d
commit f25e252366
+8
View File
@@ -25,6 +25,14 @@ pnpm install
pnpm docs:dev
```
### 使用图片
把图片放到 `src/.vuepress/public/assets/image` 目录下,然后在文档中使用Web访问时的绝对路径引用,如:
```markdown
![image](/assets/image/xxx.png)
```
### 推荐环境
推荐使用 GitHub Codespaces 编写,仓库页面点击 "Code" -> "Codespaces" -> 直接创建一个 Codespace