We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0133e3 commit e8b78c4Copy full SHA for e8b78c4
packages/@vuepress/markdown/lib/link.js
@@ -2,7 +2,7 @@
2
// 1. adding target="_blank" to external links
3
// 2. converting internal links to <router-link>
4
5
-const indexRE = /(.*)(index|readme).md(#?.*)$/i
+const indexRE = /(^|.*\/)(index|readme).md(#?.*)$/i
6
7
module.exports = (md, externalAttrs) => {
8
let hasOpenRouterLink = false
0 commit comments