Open maxbitcoin opened 1 year ago
just use official example
add a folder "sub", add two files named "1.md" and "2.md"
add link to "1.md"
add content of "1.md"
add content of "2.md"
the correct result should be <a href="/sub/2" class="internal-link router-link">2</a> rather than <a href="/2" class="internal-link router-link">2</a>
<a href="/sub/2" class="internal-link router-link">2</a>
<a href="/2" class="internal-link router-link">2</a>
read "Describe the bug"
System: OS: Windows 10 10.0.19043 CPU: (4) x64 Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz Memory: 5.93 GB / 15.87 GB Binaries: Node: 18.12.1 - D:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - F:\store\npm\global\yarn.CMD npm: 8.19.2 - D:\Program Files\nodejs\npm.CMD Browsers: Internet Explorer: 11.0.19041.1 Chrome: 106.0.5249.62
pnpm
Describe the bug
markdown file in child folder can't be visit correctly.
step 1:
add a folder "sub", add two files named "1.md" and "2.md"
step 2:
add link to "1.md"
step 3:
add content of "1.md"
step 4:
add content of "2.md"
step 5:
the correct result should be
<a href="/sub/2" class="internal-link router-link">2</a>
rather than<a href="/2" class="internal-link router-link">2</a>
Reproduction
read "Describe the bug"
System Info
Used Package Manager
pnpm
Validations