Add defaults for markdown
hax opened this issue · comments
HE Shi-Jun commented
This is my personal config for markdown: https://github.com/hax/dotfiles/blob/master/src/.editorconfig#L45-L58
- Markdown should use
indent_size = 4
as default. - For old-style markdown, we may also need
trim_trailing_whitespace = false
, but I don't suggest to add this because it's too bad to rely on illegible trailing spaces.
Hong Xu commented
Can you make a PR 😄 ?
HE Shi-Jun commented
PR ready.
Note, after reading CommonMark spec again, I realize tab_width=4
is much proper than indent_size=4
, because it is allowed to use both spaces/tabs for indentation.