Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Relative paths always one level too deep #1

Open
SimonK598 opened this issue Jul 28, 2023 · 0 comments
Open

Relative paths always one level too deep #1

SimonK598 opened this issue Jul 28, 2023 · 0 comments

Comments

@SimonK598
Copy link

Describe the bug

I have a folder 'A', which has 2 markdownfiles '1.md' and '2.md'. If i reference '1.md' from '2.md' the relative path generated is '../1.md', even though both files are in the same level/folder.

Small Reproducible Example

No response

Steps to Reproduce the Bug or Issue

  1. create folder
  2. create 2 markdown files inside created folder
  3. reference one markdown file from inside the other file using the [[]] autocomplete
  4. relative link generated goes one level deeper than it has to
  5. this bug affects not only files in the same folder, but also when in different levels

Expected behavior

relative link generated should go one level less deep

Screenshots or Videos

No response

Operating System Version

windows 10

Visual Studio Code Version

1.80.0

Additional context

No response

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant