-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report] VuePress failed to resolve images without ./
#941
Comments
But many md renders support it. I think vp should allow users to use it. |
V1 also DO NOT support it. https://v1.vuepress.vuejs.org/guide/assets.html#relative-urls So is VitePress https://vitepress.vuejs.org/guide/asset-handling.html#asset-handling |
VitePress implement a custom markdown-it plugin to resolve this issue:
However, it's not an ideal solution. It made the alias fail to work. |
I think it does be better to make:
Just like the absolute markdown link. Markdown syntax can be special handled to align user's intuition when using other markdown tools, and advanced operations can be preserved when using html tags. @meteorlxy |
Or in another word, I think it's do strange for people to use markdown syntax Just the same as the absolute markdown link, it's quite strange to use an absolute markdown link which should be keeped as is without pending base. |
Description
VuePress can't resolve images without
./
package.json
.vuepress/config.js
Reproduction
null
Used Package Manager
yarn
System Info
The text was updated successfully, but these errors were encountered: