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

2 blank lines added at the end of file, conflicts with markdownlint #24

Closed
rowild opened this issue Apr 8, 2020 · 2 comments
Closed

Comments

@rowild
Copy link

rowild commented Apr 8, 2020

Hi!

The extension adds 2 new lines at the end of the file, which conflicts with linting rules. Is there a setting to suppress that?

I added these rules, but they do not make a difference:

   "markdownFormatter.formatOpt": {
      "end-with-newline": false,
      "indent_size": 2,
      "preserve-newlines": false,
      "max-preserve-newlines": 1
    },

(When I disable the markdown-formatter extension, no empty lines are added, so I assume it is something that this extension does and not VScode...)

Thank you!

@sumnow
Copy link
Owner

sumnow commented Apr 21, 2020

I'm sorry about this issue.
It has been fixed in the 0.8.1 version. Thank you.

@sumnow sumnow closed this as completed Apr 21, 2020
@rowild
Copy link
Author

rowild commented Apr 21, 2020

Thank you very much!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants