Open
Description
Describe the bug
无法解析:
<img src="img/gmzyjx-a.png" style="zoom:60%;" />
可以解析:
<img src="./img/gmzyjx-a.png" style="zoom:60%;" />

Reproduction
Expected behavior
System Info
npm warn Unknown user config "home". This will stop working in the next major version of npm.
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Memory: 4.10 GB / 15.96 GB
Binaries:
Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 11.2.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.6.2 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers: {}
npmPackages:
vitepress: ^1.6.3 => 1.6.3
Additional context
package.json
{
"devDependencies": {
"vitepress": "^1.6.3",
"vue": "^3.5.13"
},
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview"
}
}
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.