We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/
\
relPath
1 parent 7848a30 commit 944ebe4Copy full SHA for 944ebe4
packages/@vuepress/markdown-loader/index.js
@@ -65,7 +65,7 @@ module.exports = function (src) {
65
} = markdown.render(content, {
66
loader,
67
frontmatter: data,
68
- relPath: path.relative(sourceDir, file)
+ relPath: path.relative(sourceDir, file).replace(/\\/g, '/')
69
})
70
71
// check if relative links are valid
0 commit comments