-
-
Notifications
You must be signed in to change notification settings - Fork 742
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
MD044 flags words in markdown links #443
Comments
Is this a widespread problem, or is it just this one case? I agree that capitalization of proper names in links can be different, but it doesn't have to be. That link could use capital letters or you could add that link text as a proper name (ex: "configuring-the-gps.md"). Some scenarios may want the new behavior, so I'd have to add a parameter to disable it. But if this is very rare, I'd be curious what you think about the two options above. |
I've encountered this problem in a MkDocs project which has about 15-20 instances of it. Since the file names of the articles are used in URLs when the articles are hosted, it's not so ideal to have proper name capitalization. Hyphenated lowercase is more or less the convention for URLs. Adding the link text as a proper name is a manageable work-around, but leads to a tedious workflow and "feels" hacky IMO. Some kind of parameter (like the existing |
Also #435. MD044 should not check in links and in HTML, I believe. |
This should have been fixed by 72543a8 for version |
The new implementation of MD044 is also flagging proper names in links. e.g.
One might want the following capitalization for GPS:
But then, the following would be flagged as an error:
It looks like the previous version excluded links, which didn't cause this problem: v0.23.1...v0.24.0#diff-504a7cb2d3155e72bce3746e239ad5d6e4c9836c8e87cf365d0a7a0cb93a6b97L21
The text was updated successfully, but these errors were encountered: