Skip to content
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 in parse markdown file relative path #131

Open
4 of 5 tasks
maxbitcoin opened this issue Jan 10, 2023 · 0 comments
Open
4 of 5 tasks

bug in parse markdown file relative path #131

maxbitcoin opened this issue Jan 10, 2023 · 0 comments

Comments

@maxbitcoin
Copy link

maxbitcoin commented Jan 10, 2023

Describe the bug

markdown file in child folder can't be visit correctly.

just use official example

step 1:

add a folder "sub", add two files named "1.md" and "2.md"
file structer

step 2:

add link to "1.md"
index

step 3:

add content of "1.md"
1

step 4:

add content of "2.md"
2

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>
parsed

Reproduction

read "Describe the bug"

System Info

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

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant