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

MD048: Make it automatically fixable #968

Open
skwde opened this issue Sep 13, 2023 · 2 comments
Open

MD048: Make it automatically fixable #968

skwde opened this issue Sep 13, 2023 · 2 comments

Comments

@skwde
Copy link

skwde commented Sep 13, 2023

The description of rules at https://github.com/DavidAnson/vscode-markdownlint#rules is followed by the list of fixable rules.

MD048 seems fairly easy to fix (I also haven't found info on why it is not fixable).

So can it be done or is there a good reason why it is not?

@DavidAnson DavidAnson transferred this issue from DavidAnson/vscode-markdownlint Sep 13, 2023
@DavidAnson
Copy link
Owner

This looks like an oversight. I'll implement this soon.

@DavidAnson DavidAnson changed the title MD048: Fixable? MD048: Make it automatically fixable Sep 13, 2023
@DavidAnson
Copy link
Owner

This isn't implemented because it requires a single fix that touches both the open and close of the fence (different lines) and that is not easily possible today. It will be possible someday and this behavior should be straightforward to implement then.

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

3 participants
@DavidAnson @skwde and others