Skip to content

部分图片写法无法解析 #4618

Open
Open
@1030504258

Description

@1030504258

Describe the bug

无法解析:

<img src="img/gmzyjx-a.png" style="zoom:60%;" />

可以解析:

<img src="./img/gmzyjx-a.png" style="zoom:60%;" />

![](img/gmzyjx-a.png)

Reproduction

Image

Expected behavior

这种写法正常应该能解析才对,这是符合html标准的

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

Image

package.json

{
  "devDependencies": {
    "vitepress": "^1.6.3",
    "vue": "^3.5.13"
  },
  "scripts": {
    "dev": "vitepress dev",
    "build": "vitepress build",
    "preview": "vitepress preview"
  }
}

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleupstreamRelated to the dependencies

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions