-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat($markdown): make page suffix configurable (close #2452) #2674
Conversation
As this potentially fixes the issues #2420 and #2424 – maybe the authors @davidgiga1993 and @chengyuhui can help verify, that this fixes the problems they mentioned. Also cc @cwaring :) |
Let me know if something is unclear here – other than that it'd be good to get some feedback on whether or not this fixes the mentioned issues. Would love to see this merged :) |
Overall LGTM. |
Thanks for making this happen @dennisreimann & @billyyyyy3320 🥳 |
Removes our moneypatch for Vuepress now that there is a release with vuejs/vuepress#2674 merged.
- Type: `string` | ||
- Default: `.html` | ||
|
||
Option to customize internal links to be compatible when using the [vuepress-plugin-clean-urls](https://vuepress.github.io/en/plugins/clean-urls/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link is broken. Correct one: https://vuepress-community.netlify.app/en/plugins/clean-urls/
Summary
Extends the markdown link plugin with an option for the page suffix, which is currently hardcoded to
.html
.This fixes broken links in the markup (and hence non-js version) when using the clean urls plugin. See #2452 for details.
Fixes #2452.
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
fix #xxx[,#xxx]
, where "xxx" is the issue number)You have tested in the following browsers: (Providing a detailed version will be better.)
If adding a new feature, the PR's description includes:
Other information:
See the associated feature request issue for detailed description and previous discussion.