-
Notifications
You must be signed in to change notification settings - Fork 2
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
Prevent "MD009 Trailing spaces" for double-spaced newline #7
Comments
Na, that's not possible with just a setting. You need a mlrc file or use the -u arg pointing to a style file. The issue you're referring here has some instructions actually. Also the main repo over there has an mlrc file at the root. |
As you might have to change the arguments passed to the linter, this is done using the 'args' key. Sorry, I'm on mobile so can't type it out completely. Feel free to ask again. |
Thank you for your answers!
But it did not work. Is this what you are mentioning? Or should I use a mlrc file as well? |
would be nice but mdl doesn't support such ad-hoc rules. You need to make a style file like https://github.com/markdownlint/markdownlint/blob/master/.mdl_style.rb then if I remember correctly
Or you also define a ".mdlrc" file https://github.com/markdownlint/markdownlint/blob/master/.mdlrc which basically points to the style file. |
|
Hi! It is really common in .md files to force the newline by putting a double space at the end of the line.
Unfortunately this gets a warning by this linter. In VS Code it is possible to fix by setting the parameter
br_spaces
to 2.How can I set this parameter for this linter?
I tried going in Preferences -> Package Settings -> SublimeLinter -> Settings and add something like
But this did not work...
Reference: markdownlint/markdownlint#165
The text was updated successfully, but these errors were encountered: