-
-
Notifications
You must be signed in to change notification settings - Fork 757
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
MD052 triggered by selected checkbox in github flavoured markdown #1524
Comments
Realised this was caused by this configuration I coped from https://github.com/DavidAnson/markdownlint/blob/main/.markdownlint.json "reference-links-images": {
"shortcut_syntax": true
}, |
Is there anything to indicate this is supposed to be a checkbox instead of being a missing reference definition as is being reported? Should every instance of |
I think this is a scenario where you should disable the rule (at least for now) - you can use inline comments to do so for just the TODO list. |
Good point! I configure it to be extra picky, so this shouldn't be seen by default. Thanks for calling that out. |
Thanks, yes I've disabled the rule. A quick test suggests checkboxes only work in lists: [ ] Not a checkbox
[x] Not a checkbox
- [ ] Checkbox
- [x] Selected checkbox [ ] Not a checkbox
A reference link of |
Haha! FYI, I think you can opt out of the customization from my configuration and keep the rule on but skip the strict shortcut behavior I enabled. (I'm not sure if that was clear.) Thanks for doing that bit of research! |
As per the title, MD052 is being triggered by selected checkboxes in github flavoured markdown:
The text was updated successfully, but these errors were encountered: