MarkdownEditing icon indicating copy to clipboard operation
MarkdownEditing copied to clipboard

linter complains about continued indentations

Open CircleCode opened this issue 10 years ago • 3 comments

imagine following snippet :

*   foo

    bar

    -   baz

notice that lines between foo and bar, and between bar and baz have 4 spaces each so that everything is in the same li

linter complains about "MD009 - Trailing spaces, 4 spaces", but this is a valid structure.

CircleCode avatar May 07 '15 11:05 CircleCode

Valid in that it will process, but not valid in that it matches an existing spec.

On 7 May 2015, at 6:17, Matthieu Codron wrote:

imagine following snippet :

*   foo

 bar

 -   baz

notice that lines between foo and bar, and between bar and baz have 4 spaces each so that everything is in the same li

linter complains about "MD009 - Trailing spaces, 4 spaces", but this is a valid structure.


Reply to this email directly or view it on GitHub: https://github.com/SublimeText-Markdown/MarkdownEditing/issues/274

ttscoff avatar May 07 '15 12:05 ttscoff

ok, I understand the answer. To fully understand, which spec are you referring to? (the question is which markdown this linter checks?)

CircleCode avatar May 07 '15 13:05 CircleCode

IIRC, we're using the default rules defined in https://github.com/mivok/markdownlint

Basically, Markdown is very forgiving, but the linter asks for more standardized formatting that helps ensure compatibility across more flavors of Markdown.

On 7 May 2015, at 8:13, Matthieu Codron wrote:

oki, I understand the answer. To fully understand, which spec are you referring to? (the question is which markdown this linter checks?)


Reply to this email directly or view it on GitHub: https://github.com/SublimeText-Markdown/MarkdownEditing/issues/274#issuecomment-99859951

ttscoff avatar May 07 '15 13:05 ttscoff