feat(links): add support for lowercase paths#2191
Open
sonu27 wants to merge 2 commits intojackyzha0:v4from
Open
feat(links): add support for lowercase paths#2191sonu27 wants to merge 2 commits intojackyzha0:v4from
sonu27 wants to merge 2 commits intojackyzha0:v4from
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
4e69f2b to
fb9c986
Compare
fb9c986 to
7b4ad44
Compare
7b4ad44 to
1275fdf
Compare
Author
|
@jackyzha0 @saberzero1 Just cleaned this up. Please let me know if there is a better way of doing this. I'm not a fan of |
|
Hope this lands! Came here looking for discussion around adding this feature. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new configuration option,
lowercasePaths, which allows users to enforce all generated URLs and tags to be lowercase throughout the Quartz site. This change improves URL consistency and can help avoid issues with case sensitivity across different hosting environments. The implementation touches file path slugification, tag generation, internal link transformation, and asset emission, as well as updates to documentation and tests.Please have a look to see if there is a better way of doing it. I have tested with my own content but it might not be exhaustive.
This PR was written with a lot of help using an LLM.
Related: