# 如何不使用图库添加图片

## 步骤1

我们使用Typora，点开文件——偏好设置——图像

![image-20250212104718986](./mustsee_img/image-20250212104718986.png)

Typora中我们必须按此配置

**文件夹名必须为 ./xxxx(zhangsan_img)类似于这样的**

![image-20250212104836519](./mustsee_img/image-20250212104836519.png)

接着，我们在想要保存markdown文件的文件夹中新建一个文件夹（**名字必须为xxxx(zhangsan_img)**）

![image-20250212105139834](./mustsee_img/image-20250212105139834.png)

也就是这两者一一对应

这样我们Typora中截图等添加的图片会自动保存在创建的文件夹中，且创建的html可以看到

![image-20250212105319257](./mustsee_img/image-20250212105319257.png)

![image-20250212105424478](./mustsee_img/image-20250212105424478.png)