Open leoj3n opened 7 years ago
If you use Spaces — 2, you can indent lists:
However, if you try and do the same thing with Tabs — 2 or 4, indenting always results in code formatting:
So, 2 spaces gives the most flexibility, because you can do:
AND:
- list item in code format - another in code format
Like that:
- list item - another AND: - list item in code format - another in code format
This means .editorconfigs like this should look more like:
.editorconfig
; Unix-style newlines [*] end_of_line = LF indent_style = tab indent_size = 4 [{*.json,*.yml,*.md}] indent_style = space indent_size = 2
(notice addition of *.md)
*.md
If you use Spaces — 2, you can indent lists:
However, if you try and do the same thing with Tabs — 2 or 4, indenting always results in code formatting:
So, 2 spaces gives the most flexibility, because you can do:
AND:
Like that:
This means
.editorconfig
s like this should look more like:(notice addition of
*.md
)