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

MD012: Additional triming for redundant trailing double space #674

Open
nschonni opened this issue Dec 8, 2022 · 0 comments
Open

MD012: Additional triming for redundant trailing double space #674

nschonni opened this issue Dec 8, 2022 · 0 comments

Comments

@nschonni
Copy link
Contributor

nschonni commented Dec 8, 2022

I've noticed in some places Prettier/remark will remove additional double spaces that Markdownlint won't flag. A maybe incorrect and non-exaustive list:

  • On a blank link between list items
  • At the end of a sentence followed by an empty line

I think these are just some extra edge cases that represent the end of blocks described in https://spec.commonmark.org/0.30/#hard-line-breaks but not shown in any of the tests

@DavidAnson DavidAnson changed the title Additional MD012 triming for redundant trailing double space MD012: Additional triming for redundant trailing double space Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants