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

Case Sensitivity Issue in Markdown Links Leads to 404 Errors #1122

Open
valentynkt opened this issue May 7, 2024 · 0 comments
Open

Case Sensitivity Issue in Markdown Links Leads to 404 Errors #1122

valentynkt opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@valentynkt
Copy link

Describe the bug
In Quartz, markdown links are case-sensitive, which differs from the behaviour observed in Obsidian. For instance, the link [[Note Two]] is not recognized as identical to [[Note two]] in Quartz, leading to a 404 error when the link is accessed.

To Reproduce
Steps to reproduce the behavior:

Create a folder named notes.
Inside the notes folder, create two markdown files: Note one.md and Note two.md.
In Note one.md, add the following links: [[Note two]] and [[Note Two]].
Deploy the Quartz site.
Attempt to access both links from Note one.md.
Observe that [[Note two]] resolves correctly to notes/Note-two, but [[Note Two]] tries to link to Note-Two and returns a 404 error.
Expected behavior
Links in markdown files should not be case-sensitive, similar to the behaviour in Obsidian. Both [[Note two]] and [[Note Two]] should resolve to the same document without causing a 404 error.

Screenshots and Source
sCQSHX4cEv
RJH5uf9SCx
z4EPXzfSQK

Desktop :

Quartz Version: Quartz v4.2.3
node Version: v21.7.1
npm version: npm@10.5.0
OS: Windows 11
Browser: Chrome

Additional context
The behavior in Obsidian shows that markdown links are treated as case-insensitive, which helps in avoiding broken links due to case discrepancies. It would enhance the user experience in Quartz if it could replicate this behavior.

@valentynkt valentynkt added the bug Something isn't working label May 7, 2024
valentynkt added a commit to valentynkt/BackendGarden that referenced this issue May 7, 2024
valentynkt added a commit to valentynkt/BackendGarden that referenced this issue May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant